process_run
Execute a shell command and capture its output, errors, and exit code as JSON. Specify command, optional timeout, working directory, and shell.
Instructions
[process] Run a shell command and return stdout, stderr, and exit code. Returns JSON with: success, returncode, stdout, stderr, truncated.
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": "process_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| timeout | No | ||
| cwd | No | ||
| shell | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |