Step to the next or previous section of an extraction job's datasheet
datasheetvend_neighbor_document_sectionThe section after (direction next) or before (direction previous) the given one in reading order. scope any: the adjacent heading of any level; same_or_higher_level: skip deeper subsections. at_end=true when there is none. 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>",
"direction": "<direction>"
},
"name": "datasheetvend_neighbor_document_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Default any. | |
| job_id | Yes | An extraction job in your account (or shared with it). | |
| direction | Yes | next or previous. | |
| section_id | Yes | A section id from datasheetvend_list_document_sections (the id of the heading block that opens it). |