Update agent abilities
Turn the agent’s native abilities on or off and set their options: Web Search, Web Fetch, Image Generation, Search Past Conversations, Ask Question, Manage Evaluations, Chat Widgets, and Browser.
PATCH
cURL
What happens to abilities left out of the request?
What happens to abilities left out of the request?
Send only the abilities you want to change. Enabling an ability that is already on keeps its saved settings unless you send new ones. Abilities your organization’s policy denies (for example Browser) answer
403.Authorizations
A personal API key or an OAuth 2.0 access token. Personal API keys also require the x-auth-key header with your user ID.
Body
application/json
Native abilities. On PATCH /agents/{agent_id}/abilities send only the ones you want to change; each is a small object so settings travel with the toggle.
Response
The agent's abilities after the change.