Update agent
update_agentRequires the write scope or higher. Updates an agent's name, description or slug by UUID with merge-patch semantics: supplied fields change, omitted ones keep their value. Renaming never changes the slug. A new slug has to be unique in the project; saved links, Terraform references and trace sources (service.name) naming the old slug then stop matching the agent unless they equal its name (case-insensitive), past traced runs included, and a slug equal to a source another agent receives takes that source's traces, past runs included. Attached monitors stay attached.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Agent UUID (from register_agent or list_agents). | |
| name | Yes | Human-readable agent name, e.g. 'Deploy Bot'. | |
| slug | No | New slug for the agent, e.g. 'reddit-bot': 3-50 characters, lowercase letters, digits and hyphens. Omitted: unchanged. After a change, references to the old slug (links, Terraform, trace sources and their past runs) stop matching this agent unless they equal its name (case-insensitive). | |
| description | No | Free-text description of what this agent does. Omitted: unchanged. An explicit empty string clears it. |