execute_and_parse
Execute a command and return structured parsed output for git status, git log, docker ps, test results, ls -la, or JSON to make terminal results machine-readable.
Instructions
Execute a command and return structured parsed output (supports git status, git log, docker ps, test results, ls -la, and JSON)
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": "execute_and_parse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parser | No | Force a specific parser: git_status, git_log, docker_ps, test_results, ls, json, auto (default: auto) | |
| command | Yes | The command to execute and parse | |
| working_directory | No | Optional working directory |