agent_update
Change an agent record: tools, status, standing procedure, lens, focus or spend cap. Needs org:admin; agent seats are refused, and the manager's record is fixed (no cap on the manager).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Agent record slug (agent-<label> or <label>) | |
| agent | No | Override agent attribution label | |
| focus | No | Strategic focus binding; {} clears | |
| model | No | New model pin; empty string clears it (default) | |
| status | No | active, paused (starts no runs) or archived | |
| budget_usd | No | New spend cap in USD. Omit to leave it. "0" blocks every new run. Set with budget_period when the agent has no cap yet. | |
| namespaces | No | Memory lens containers; [] clears | |
| persona_md | No | Private standing brief; empty string clears | |
| mcp_servers | No | Replace the agent's external MCP servers (#1264); [] clears. 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; [] clears | |
| clear_budget | No | Remove the spend cap. Do not also pass budget_usd or budget_period. | |
| display_name | No | New display name | |
| github_grant | No | Replace the agent's GitHub grant (#1379): {repos: [owner/repo, ...], read, write, destructive}, each level off, auto or ask. To revoke, set the levels to off. Only a person can set it | |
| budget_period | No | day, week (Monday) or month, UTC. Omit to leave it. | |
| tool_patterns | No | New tool patterns; [] clears them (deployment default) | |
| playbook_slugs | No | Standing playbooks; [] clears | |
| clear_github_grant | No | Remove the GitHub grant so the agent follows the org default again. Do not also pass github_grant. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||