exec
Run a command and obtain its exit code, stdout, and stderr. Output is automatically truncated when large.
Instructions
Run command. Returns {exit, out, err?}. Output auto-truncated if very large.
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": "exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| command | Yes | ||
| cwd | No | ||
| env | No |