Change an agent's skills
apply_agent_skillsTurn skills on or off for a deployed agent, checking dependencies and returning required credentials, connectors, paused tasks, and an idempotency key for safe retries.
Instructions
Turn Skills on or off for a deployed agent. Outside services are Connectors and connect with connect_agent_connector instead. Every plan includes every skill, so a skill change costs nothing: the plan keeps its price and the AI usage it includes, and no active plan is needed. The change is applied on the first call, so tell the user what turns on or off and get their yes first. The tool checks the names and turns on the skills they depend on (add_dependencies); the result lists them, the credentials the new skills still need, the Connectors they work with that the agent has not connected, and the scheduled tasks the change paused. A running agent gets most changes without a restart; a few restart it, which takes a minute or two. A skill's work uses the agent's AI usage (its plan first, then the workspace balance), and model runs it starts are billed to the wallet of the workspace that owns the Wiro project connected to the agent. Newly enabled skills may still need credentials (set_agent_credentials, bind_agent_project for a Wiro project) and do not create scheduled tasks (manage_agent_custom_skill does). On a team agent only a team admin or the person who deployed the agent can change its skills; other members are refused and nothing changes. Every result gives an idempotency_key: if an answer does not arrive, repeat the same change with it, which never applies the change twice. To change the plan, use manage_agent_billing (change_plan). Find skill names with list_agent_skills and the agent's current skills with get_my_agent. The agents playbook (get_playbook) has the full setup walkthrough.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agent_guid": "<agent_guid>",
"skills": "<skills>"
},
"name": "apply_agent_skills"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skills | Yes | Skills to change, as name: true to turn on or name: false to turn off, for example {"util-video-creator": true}. Registry names only (list_agent_skills). Custom skills and scheduled tasks (cs-...) are managed with manage_agent_custom_skill; channels such as Telegram turn on through set_agent_credentials; connectors connect with connect_agent_connector. | |
| agent_guid | Yes | The deployed agent's guid, from list_my_agents. | |
| idempotency_key | No | Only to repeat a change whose answer did not arrive: the idempotency_key that change returned or its error names. Repeating it never applies the change twice. Leave it out for a new change. | |
| add_dependencies | No | Also turn on the skills that the enabled skills depend on (default true). Without them the change is refused. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | After an applied change: true when the running agent got it with no restart, as Wiro answers it. | |
| note | Yes | What the change does to the plan and its cost: nothing, since every plan includes every skill. | |
| error | No | ||
| status | Yes | ||
| changes | Yes | ||
| restart | Yes | ||
| agentGuid | Yes | ||
| nextAction | No | ||
| agentStatus | Yes | ||
| pausedTasks | No | After an applied change: the scheduled tasks it paused, which wait for skills that are off. get_my_agent names those skills. | |
| enabledSkills | No | ||
| idempotencyKey | No | The key of this change. If the answer to it does not arrive, repeating the same change with this key never applies it twice. | |
| credentialsNeeded | Yes | ||
| connectorsToConnect | No | After an applied change: the Connectors the skills it turned on work with that the agent has not connected. None connects by itself: connect_agent_connector connects each one. |