run_command
Executes a zsh command on the user's machine and waits for completion; long-running commands return a task ID so you can track and manage them.
Instructions
Run a zsh command. The server waits for it to finish. A long command returns a task id for manage_task.
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": {
"CommandLine": "<CommandLine>",
"toolSummary": "<toolSummary>",
"WaitMsBeforeAsync": "<WaitMsBeforeAsync>"
},
"name": "run_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Confirm | No | True only after the user agrees to a previously refused command. | |
| IsDaemon | No | True for a process that should stay running, such as a dev server. | |
| CommandLine | Yes | Exact command line. | |
| toolSummary | Yes | Short noun phrase describing the command. | |
| WaitMsBeforeAsync | Yes | Hint from 500 to 10000. The server may wait longer. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |