Shell
shellRun commands in the host environment with configurable timeouts or background execution; long-running processes return a PID and log path.
Instructions
Run a command in the host shell. timeout is in milliseconds (0 disables it). Set background=true to start a long-running process; the result contains its PID and log path.
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": "shell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| timeout | No | ||
| workdir | No | ||
| background | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |