Read one section of an extraction job's datasheet
datasheetvend_read_document_sectionOne section's blocks in reading order (text, table cells, drawing crop boxes), each with its block id, page and box, in windows (block_offset / next_block_offset, at most 80 blocks or about 40000 characters). include_subsections adds the blocks of every section below it. Long texts and large tables are cut and say so; datasheetvend_read_document_block returns one block whole. 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>",
"section_id": "<section_id>"
},
"name": "datasheetvend_read_document_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | An extraction job in your account (or shared with it). | |
| section_id | Yes | A section id from datasheetvend_list_document_sections (the id of the heading block that opens it). | |
| block_limit | No | Blocks to return. Default 25, at most 80. | |
| block_offset | No | Skip this many blocks (from next_offset). Default 0. | |
| include_subsections | No | Also the blocks of the sections below this one. Default false. |