bash
Run short shell commands inside the agent's private X11 desktop environment and return their output, such as reading app logs, clipboard data, or files under its $HOME.
Instructions
Run a shell command inside the agent desktop's environment and return its output.
For short commands: xclip/xdotool, reading app logs, files under the agent's $HOME.
It sees the agent desktop's display and D-Bus, not the user's. Use launch for
GUI apps and anything long-running: this waits for the command, and kills it and
everything it started after timeout seconds (max 300). stdin is empty.
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": "bash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| command | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |