{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://swarmlord.ai/schema/swarmlord.json","title":"swarmlord agent bundle","description":"Configuration for `swarmlord deploy`. Validated server-side via `Deploy.validateBundle`.","$ref":"#/definitions/DeployBundle","definitions":{"DeployBundle":{"type":"object","properties":{"name":{"type":"string"},"instructions":{"type":"string"},"model":{"type":"object","properties":{"providerId":{"type":"string"},"modelId":{"type":"string"}},"required":["providerId","modelId"],"additionalProperties":false},"skills":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"object","properties":{"name":{"type":"string"},"path":{"type":"string"}},"required":["name","path"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["name","url"],"additionalProperties":false}]},"default":[]},"customTools":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"description":{"type":"string"},"parameters":{"type":"object","additionalProperties":{}}},"required":["id","description","parameters"],"additionalProperties":false},"default":[]},"workspaceFiles":{"type":"object","additionalProperties":{"type":"string"},"default":{}},"mcps":{"type":"array","items":{"type":"string"},"default":[]},"triggers":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"webhook"},"suffix":{"type":"string"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"cron"},"expression":{"type":"string"}},"required":["kind","expression"],"additionalProperties":false}]},"default":[]},"strictSecrets":{"type":"boolean","default":false},"secretGrants":{"type":"array","items":{"type":"string"},"default":[]},"jsonReply":{"type":"object","properties":{"schema":{"type":"object","additionalProperties":{}},"retries":{"type":"integer","minimum":0,"maximum":10,"default":2},"defaults":{"type":"object","additionalProperties":{}},"allowSubtasks":{"type":"boolean","default":true}},"required":["schema"],"additionalProperties":false},"command":{"type":"object","additionalProperties":{"type":"object","properties":{"template":{"type":"string"},"agent":{"type":"string"},"model":{"type":"object","properties":{"providerId":{"type":"string"},"modelId":{"type":"string"}},"required":["providerId","modelId"],"additionalProperties":false},"subtask":{"type":"boolean"}},"required":["template"],"additionalProperties":false}}},"required":["name","model"],"additionalProperties":false}}}