Read one module's packet of an extraction job's datasheet
datasheetvend_get_module_packetOne extraction module's packet: the blocks of the parsed datasheet that module needs, in reading order, each with its reasons (which heading, caption or content tag put it there, from which block), table cells and drawings as a crop box plus the exact words inside them, each with its box. The header (sections with their block ids, coverage) comes whole; blocks come in windows (block_offset / next_block_offset, at most 200 blocks or about 80000 characters per answer). 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>",
"module": "<module>"
},
"name": "datasheetvend_get_module_packet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | An extraction job in your account (or shared with it). | |
| module | Yes | The extraction module. | |
| block_limit | No | Packet blocks to return. Default 40, at most 200. | |
| block_offset | No | Skip this many packet blocks (from next_offset). Default 0. |