command_read
Reads the status, output, and exit code of an asynchronous guest command job, including after an MCP restart, so you can monitor or resume command execution.
Instructions
读取同一个命令任务的状态、输出与退出码;MCP 重启后仍可继续读取。
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": {
"job_id": "<job_id>"
},
"name": "command_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| wait_sec | No |