shell
Run non-interactive local commands with optional arguments, environment variables, background execution, and timeout; when setting cwd, use an absolute local path.
Instructions
Run a non-interactive local command; cwd must be an absolute local path when provided.
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": {
"root": "<root>"
},
"name": "shell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| env | No | ||
| args | No | ||
| root | Yes | ||
| shell | No | ||
| command | No | ||
| background | No | ||
| executable | No | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||