btb_execute_command
Runs an approved shell command inside the back-to-the-basics repository, optionally from a subdirectory, while blocking dangerous commands so agents can execute tests and scripts safely.
Instructions
Executes a shell command in the back-to-the-basics repository.
Args: command: The shell command to execute (e.g., "pytest", "python -m coherence") working_dir: Optional subdirectory within BTB to execute from
Security: Only allows specific safe commands. Dangerous commands are blocked.
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": "btb_execute_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| working_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |