run_workspace_command
Executes a limited read-only command in a workspace directory to inspect files or Git state safely, without shell access or arbitrary programs.
Instructions
Run a limited read-only command in the workspace; no shell or arbitrary programs
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_workspace_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| directory | No | . |