run_command
Run shell commands using a specified working directory and environment variables to automate terminal tasks within the workspace.
Instructions
Execute a shell command
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": "run_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Command to execute | |
| cwd | No | Working directory | |
| env | No | Environment variables |