Inspect or Cancel Command
cloud_computer_command_inspectInspect a command_id from cloud_computer_command_start without executing again. action=status polls its state and previews; read returns text plus exact data_base64 and next_offset; search finds up to 10 literal UTF-8 byte offsets in retained output starting at offset (use next_offset to continue). Each stream retains its first 4 MiB. action=cancel requests termination; an unknown state with cancel_requested=true means guest exit was not confirmed. Disconnecting this tool does not stop execution. Expired output cannot be recovered by retrying the 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": {
"name": "<name>",
"command_id": "<command_id>"
},
"name": "cloud_computer_command_inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Computer id from create or list, or its display name from info. | |
| limit | No | Maximum bytes to read. | |
| query | No | Literal text required for search. | |
| action | No | Inspect status, read/search output, or request cancellation. | status |
| offset | No | Byte offset in the selected stream. | |
| stream | No | Output stream to inspect. | stdout |
| command_id | Yes | Handle returned by start. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||