v1
latestOpenAPI 3.0.02026-07-26492143.5 KBAgents
Attach or detach agent skills
Attach and/or detach skills on an agent using deltas. This is not a replace-list: skills you don't mention are left untouched.
- The operation is idempotent. Re-attaching a skill that's already attached (or detaching one that isn't) is reported under already_attached / already_detached rather than failing.
- A skill ID may not appear in both attach and detach.
- Up to 100 unique skill IDs total (attach + detach) per request.
- Attaching requires INVOKE permission on the skill. Detaching is permissive so stale attachments can always be removed.
patch/agents/{agent_id}/skills
Path parameters
agent_idstring required
ID of the agent whose skills to update.
Request body
Response
The resulting skill set plus what this request changed.
Example response
{
"agent_id": "abc123DEFghiJKL"
}