Check a write's result
get_operationCheck what became of a write after a timeout or lost answer, before you write again. Answers its receipt (status, entity_id and url; an upload's attachment_id or file_id), or:
not_completed: it did not finish; the identical call with the same operation_id is safe.
unavailable: this connection never received it, or it is now outside its access. If you reconnected since the write, this does not mean it failed: ask the person to check in ThreadPage instead of writing again. An upload's receipt says its state now: uploading (its bytes did not arrive: send the identical call again), checking (ThreadPage is checking a file), uploaded (stored; a file's also checked, with the markdown line that places it in the Thread and Note it was uploaded for) or failed (refused or deleted: upload it again with a new operation_id). Answers no content.
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": {
"operation_id": "<operation_id>"
},
"name": "get_operation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation_id | Yes | The operation_id of the write to check. |