Create batch publish plans
create_batch_publish_plansCreate a restartable batch publishing plan for DWG files, using pagination and inventory verification to produce PDFs while isolating individual drawing failures.
Instructions
Inspect a restartable page of DWGs; one drawing failure does not stop the batch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | Explicit local path; it must pass CadPlot's configured path policy. | |
| limit | No | Bounded number of jobs or drawings returned in one page. | |
| offset | No | Zero-based drawing offset returned by the previous batch page. | |
| max_files | No | Safety cap for DWG discovery before pagination. | |
| recursive | No | ||
| expected_inventory_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| limit | Yes | ||
| offset | Yes | ||
| summary | Yes | ||
| has_more | Yes | ||
| processed | Yes | ||
| next_offset | Yes | ||
| inventory_id | Yes | Exact inventory identifier returned by the first batch page; subsequent pages must repeat it so file-list changes fail closed. | |
| batch_page_id | Yes | ||
| schema_version | Yes | ||
| total_drawings | Yes |