get_command_output
Retrieve current output and status of a running or completed async command using its process ID, optionally limiting results to the last N lines.
Instructions
Get the current output and status of a running or completed async command by process_id.
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": {
"process_id": "<process_id>"
},
"name": "get_command_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tail | No | Only return the last N lines of output (optional, 0 = all) | |
| process_id | Yes | The process ID returned by start_command |