Attach or detach agent skills
update_agent_skillsAttach or detach specific skills on an agent using deltas, leaving unmentioned skills unchanged. Idempotent updates report already-attached or already-detached skills instead of failing.
Instructions
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_detachedrather than failing.A skill ID may not appear in both
attachanddetach.Up to 100 unique skill IDs total (
attach+detach) per request.Attaching requires
INVOKEpermission on the skill. Detaching is permissive so stale attachments can always be removed. Explicit confirmation is required for this exact account operation. Runs can spend credits or trigger downstream actions; never resubmit unknown outcomes automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attach | No | Skill IDs to attach. Ignored if already attached. | |
| detach | No | Skill IDs to detach. Ignored if not attached. | |
| account | No | Named private Gumloop account; selects private credentials and user/team identity. | |
| confirm | No | Set true only when the user asked for exactly this action. | |
| payload | No | Complete JSON request body instead of body flags. Preserves current endpoint fields and values. | |
| agent_id | Yes | ID of the agent whose skills to update. Also accepts the reserved aliases `gumball` and `analytics`. | |
| payload_file | No | Regular local JSON body file, at most 5 MB. Cannot be mixed with body flags or payload. |