skill_run
Execute a skill's declared runnable script with an argument array, returning exit code and output after user confirmation.
Instructions
Execute a script the skill DECLARES as runnable, with an argument array. Returns the exit code and the captured output; a non-zero exit is a normal, reported outcome. Asks the user to confirm first: a confirmation prompt where the client supports one; otherwise the first call returns a preview of exactly what would run and a confirmToken, and only a repeat call with that token proceeds (see MCP_CONFIRM_MODE).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Arguments passed as an argv array. There is no shell: nothing here is interpreted. | |
| name | Yes | The skill's name, exactly as skill_list reports it. | |
| script | Yes | The exact script path skill_list reports for this skill. | |
| confirmToken | No | ONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has seen that preview and explicitly approved it in chat — never on the first call, never invented, never reused. Call again with the same arguments. Ignored when the client supports elicitation. |