Update agent config
agents_updateReplaces an active agent's configuration without restarting its conversation; send the full config, not a patch. Model and tool changes apply next model call; machine changes apply immediately.
Instructions
Replaces an active agent's config without restarting its conversation and returns the new agent_config. Model, instruction, and tool changes apply at the agent's next model call; machine changes apply immediately, stopping processes on removed machines and deleting the agent's machines from removed pools. Send the complete config, not a patch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orgID | Yes | Organization ID (org_...). | |
| source | Yes | Agent config source as YAML or JSON text, or, with source_format json, as a JSON object. | |
| agentID | Yes | Agent ID (agt_...). | |
| projectID | Yes | Project ID (proj_...). | |
| source_format | Yes | Format of source: yaml or json. | |
| expected_current_config_id | No | Agent config ID (acfg_...). |