bash
Execute shell commands on the local workstation via MCP. Run with existing user permissions to manage files and processes. Use a unique request key to avoid duplicate actions.
Instructions
Run a real command on this workspace's computer using Pi, without another model. Full account access; sudo -n uses existing elevation. cd affects this command only. On timeout, cancellation, or lost connection inspect effects before retrying.
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": {
"workspace_id": "<workspace_id>",
"request_key": "<request_key>",
"command": "<command>"
},
"name": "bash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| timeout | No | ||
| request_key | Yes | Unique operation key within this workspace. Reuse only for the exact same request; uncertain outcomes must not be blindly retried. | |
| workspace_id | Yes |