update_agent
Update an agent's name or description by UUID while preserving its immutable slug. Only provided fields change, so monitors and references remain unaffected.
Instructions
Update an existing LastPing agent's name/description by UUID using merge-patch semantics: only the fields you supply are changed, and any field you omit keeps its current stored value. slug is derived from name at creation and is immutable — this can rename the agent's display name, but never its slug, so anything that already references it by slug (including monitors attached via agent_id) keeps working.
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'. | |
| description | No | Free-text description of what this agent does. Omit to leave the agent's current description unchanged — THIS IS THE DEFAULT AND SAFE CHOICE for a name-only rename. Pass an explicit empty string to clear an existing description back to none. |