Verify Block
verify_blockMark a block as verified (✓) or wrong (✗) and persist the status to the PDF document. Accepts an optional note for reference.
Instructions
Mark an extracted block as verified (✓) or wrong (✗), persisted to the document. Called by the view_document viewer when the user clicks a block; also usable directly with document_id + node_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": {
"document_id": "<document_id>",
"node_id": "<node_id>"
},
"name": "verify_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional human note, stored with the verification. | |
| node_id | Yes | Node/block ID to verify (from a view_document overlay). | |
| approved | No | true → mark the block verified (✓). false → flag it as wrong (✗). | |
| document_id | Yes | okraPDF document ID the block belongs to. |