agent_create
Create a dedicated agent record (#733/#734): model, tools, standing procedure, memory lens, focus and an optional spend cap. Needs org:admin; agent seats are refused. warnings lists tool patterns this deployment will not grant (shell, when the deployment has not turned it on).
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": {
"slug": "<slug>"
},
"name": "agent_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | specialist (default) or service. The manager is seeded, not created | specialist |
| slug | Yes | Agent handle: agent-<label> or <label> (lowercase, dashes) | |
| agent | No | Override agent attribution label | |
| focus | No | Standing strategic binding: objective_ids / key_result_ids / initiative_ids plus optional work_filter (#734) | |
| model | No | Router model id every run of this agent uses; omit for the default | |
| budget_usd | No | Spend cap in USD for this agent (decimal, "0" blocks every new run). Set it with budget_period, or omit both for no cap. | |
| namespaces | No | Memory lens containers (repo:/github:/project:). Narrows recall; not a private store (#734) | |
| persona_md | No | Private standing brief for the agent's own prompt (#734) | |
| mcp_servers | No | External MCP servers this agent's runs may call (#1264): objects with name, url (https), optional tools (allowlist), secret (vault secret name, never a token) and enabled. Offered only when the run's tool allowlist grants them (all, mcp, or ext_<name>__*) | |
| skill_slugs | No | Standing skills this agent always brings (#734) | |
| display_name | No | Name people see; defaults to 'Agent <label>' | |
| github_grant | No | This agent's GitHub grant (#1379): {repos: [owner/repo, ...], read, write, destructive}, each level off, auto or ask. Repos must be ones the org's GitHub App serves. Omit to keep the org default. Only a person can set it | |
| budget_period | No | UTC window the cap resets on: day, week (Monday) or month | |
| tool_patterns | No | Tool names or prefix* globs this agent's runs may bind. Narrows the deployment's allowlist, never widens it. Omit for the default. The result's warnings name any pattern this deployment will not grant, such as shell when the deployment has not turned shell on | |
| playbook_slugs | No | Standing playbooks used when a work item has no playbook_slug (#734) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||