Create an agent
create_agentCreate a Content Manager agent that researches, scripts, and produces videos for a Brand on a schedule. Defaults to draft-only autonomy: it creates drafts but never publishes without review. Requires idempotencyKey so a retry cannot create a duplicate agent. When the workspace's Governance settings cannot be read, it fails with HTTP 503 and records no outcome: retry with the same idempotencyKey.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"brand_id": "<brand_id>",
"topic": "<topic>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "create_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name for the agent. | |
| tasks | No | Pipeline steps the agent runs. Default: research_topic, write_script, create_video. | |
| topic | Yes | What the agent makes content about. | |
| brand_id | Yes | Brand id the agent manages. | |
| timezone | No | IANA timezone for the schedule. Default UTC. | |
| workspace | No | Workspace slug. Omit to use your default workspace. | |
| days_of_week | No | Days the agent may run (0=Sun…6=Sat). Default weekdays. | |
| autonomy_mode | No | Governance level. Default draft_only (safest). | |
| idempotencyKey | Yes | Required durable retry key. Reuse it only for the same logical call and arguments. | |
| max_runs_per_day | No | Default 1. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||