Set an agent's skills
set_agent_skillsReplace the skills attached to an agent with the given list: skills not in the list are detached, and an empty list detaches them all.
Instructions
Replace the skills attached to an agent with the given list: skills not in the list are detached, and an empty list detaches them all. Each skillId must be a skill in the same workspace or one managed by Orchestra, and the request is refused with 404 if any is not; duplicates are ignored. Agents managed by Orchestra cannot have their skills changed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| agent_id | Yes | The id of the agent. | |
| X-Orchestra-Account-Id | No | Act on this account rather than the one the credential resolves to. Omit it to use the credential's own account. An API key is issued to a single account, so it may only name that account; an OAuth token may name any account its grant covers. |