Overview
Theupdate_agent function updates an existing AI agent’s configuration.
Function Signature
Parameters
The unique identifier of the agent to update
The agent fields to update (all optional):
name: Agent namedescription: Agent descriptioninstructions: System instructions for the agenttemperature: Model temperatureis_active: Whether agent is active
Return Value
ReturnsResult<AiAgent> containing the updated agent details.
Basic Usage
Error Handling
Rate Limits
- Update operations: 100 requests per minute
- Burst limit: 10 requests per second
Related Functions
- fetch_agent - Get agent by ID
- create_agent - Create a new agent
- delete_agent - Delete agent
