Update an agent
agent
Update an agent
Partially update an existing agent configuration.
Only the fields present in the request body are updated; all other fields keep their current values.
Args:
agent_id (str): The agent to update.
body (UpdateAgentRequest): Fields to update.
user_id (str): Injected authenticated user ID.
storage (StorageBase): Injected storage backend.
Returns:
AgentRecord: The full agent record after the update.
Raises:
HTTPException: 404 if the agent does not exist or does not belong
to the authenticated user.
PATCH
Update an agent
Documentation Index
Fetch the complete documentation index at: https://docs.agentscope.io/llms.txt
Use this file to discover all available pages before exploring further.
Headers
Caller's user ID. Temporary header-based identity; will be replaced by JWT auth.
Path Parameters
Body
application/json