run_command
Execute a shell command via the platform shell and return its output, supporting pipes, redirects, and chained commands.
Instructions
Execute a shell command and return its output.
The command runs through the platform shell (cmd on Windows, sh on Unix), so pipes, redirects and chained commands work. Use with care: this tool can run arbitrary commands.
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": {
"command": "<command>"
},
"name": "run_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The command line to execute. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |