agent_draft
Draft a new agent for the user, as Agents → New agent does: made paused and able to see nothing, as every new agent starts. Only the user gives it what to read and do, and switches it on, in Agents (link). kind own (the default) works for the user alone; team is the company's, for owners only. schedule: when it would run once they switch it on, at set times on chosen days (in the user's time zone) or every so often, at most every 15 minutes; it never runs while paused, and the user can change it in Agents.
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>",
"author": "<author>"
},
"name": "agent_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| name | Yes | up to 40 characters | |
| model | No | your model id | |
| author | Yes | who's acting: your product, like claude or codex | |
| schedule | No | when it runs once switched on, each {kind: schedule, at: HH:MM, days: [0-6, 0 is Monday]} or {kind: every, minutes: 15 to 1440}, with prompt: what to do then (optional) | |
| instructions | No | what it does, up to 4000 characters |