execute_bash
Run shell commands in the working directory and capture stdout and stderr for monitoring and error handling.
Instructions
Run a bash command in the global working directory.
Args:
cmd: The shell command to execute.
Returns:
A tuple (stdout, stderr) from the command execution.
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": {
"cmd": "<cmd>"
},
"name": "execute_bash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmd | Yes |