Read one block of an extraction job's datasheet
datasheetvend_read_document_blockOne parsed block whole: type, page, box, text and markdown (each up to 20000 characters), heading, caption, links, its section and heading path, table cells with their boxes (up to 2000) or a drawing's crop box and the exact words inside it with their boxes (up to 400), and how many cross-references it prints or receives. Deterministic: reads the job's stored parse (parsed_document_v1), calls no model and extracts nothing. Costs no credits. Needs a DatasheetVend API key; readable jobs are your own, your workspace's TEAM-shared jobs and PUBLIC jobs, as on the REST API. Refusals: NOT_PARSED / PARSE_FAILED (no usable parse stored for this job), PARSE_EXPIRED (past retention), DOCUMENT_TOO_LARGE (over 20,000 blocks). Every block, cell and word comes with its page, box ([x0, y0, x1, y1] in PDF points, origin top-left), quoted text and parse {document_sha256, parser_version, block_id, cell_id}; block ids are stable only within one parser_version.
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>",
"block_id": "<block_id>"
},
"name": "datasheetvend_read_document_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | An extraction job in your account (or shared with it). | |
| block_id | Yes | A block id from another of these tools (e.g. 'p36-b4-1a2b3c'); stable within one parser_version. |