Create a new OpenBot agent (via a manager agent)
create_agentCompose and validate an OpenBot agent profile, preview creation arguments by default, then delegate exact creation to an existing manager agent when dry-run is disabled.
Instructions
Compose and validate a new agent's profile the way OpenBot's Agent Designer does (one job → anti-jobs → voice → wake, description ≤ 2,000 chars), then ask an existing 'manager' agent to call openbot.create_agent with exactly those arguments. dryRun=true (default) only returns the description, the create_agent arguments, warnings and the message — nothing is sent. The Local scripts API cannot create agents itself; the new agent starts with Local scripts OFF. Read openbot://guides/create-agent for the rules.
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>",
"job": "<job>",
"initialMessage": "<initialMessage>"
},
"name": "create_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| how | No | The concrete how: which service, inbox, channel, repo. | |
| job | Yes | ONE sentence: what it does every time it wakes. | |
| name | Yes | Short name of the new agent. | |
| wake | No | ||
| model | No | Must be listed by openbot.list_models. | |
| title | No | Role title, e.g. "Code reviewer". | |
| voice | No | A few words of tone/character. Not a generic assistant. | |
| dryRun | No | Default true: preview only. | |
| manager | No | Existing agent that performs the creation. Required when dryRun=false. | |
| routine | No | A standing routine the manager creates for the new agent (openbot.create_routine). | |
| antiJobs | No | What it never does, even if asked (adjacent work → another agent). | |
| provider | No | Omit to copy the manager agent's provider/model/account. | |
| avatarHue | No | One of 0 red, 30 orange, 55 yellow, 100 lime, 150 green, 185 cyan, 215 blue, 245 indigo, 280 violet, 320 magenta. | |
| description | No | Full persona text used verbatim instead of composing job/antiJobs/voice/wake/how. | |
| initialMessage | Yes | The new agent's first task. | |
| timeoutSeconds | No | How long to wait. Timing out stops only the wait; the agent keeps working. | |
| reasoningEffort | No |