Update agent metadata and/or replace the full graph with validated nodes/connections.
graph updates are full replacements:
PATCH /agent/{agent_id}/update.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | No | Agent name (1-120 chars). |
description | string | No | Agent description (<=5000 chars). |
visibility | string | No | public or private. |
graph.nodes[] | array | No | Full replacement list of nodes. |
graph.connections[] | array | No | Full replacement list of connections. |
name, description, visibility, or graph is required.