Updates an existing agent by its UID. Use this endpoint to modify an agent’s configuration, instructions, model, or connected tools.
Validation: Referenced tools, API tools, and MCP servers are validated if provided.
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
Unique identifier of the agent
Name of the agent
URL to the icon/avatar of the agent
Description of the agent
Array of tool names available to this agent
Array of API tool names available to this agent
Array of MCP server names available to this agent
Instructions for the agent behavior
Additional metadata for the agent
AI model to use for this agent
Configuration metadata for the AI model
Is the agent active?
Agent updated successfully
Indicates whether the operation was successful
true