op_get
Retrieve the current state of a queued or running operation by ID, including status, progress, failures, and errors; unknown or unauthorized IDs return NOT FOUND.
Instructions
One operation's state: {id, kind, status (pending, running, ok, partial, failed, cancelled), total, done, failed, error, …}. Someone else's operation answers NOT FOUND, as one that never existed.
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": {
"id": "<id>"
},
"name": "op_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | the operation's id (op.id from the tool that queued it, or ops_list) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | the operation's JSON answer - the body its REST twin under /api/ai answers (an object) | |
| status | Yes |