Run a batch
pdf_run_batchApply the same 1-10 PDF steps to 1-50 files at once, save each output to a target folder, and report any skipped failures.
Instructions
Apply the same 1–10 pipeline steps to each of 1–50 PDFs, one file at a time. Each result is written to output_folder as -.pdf. A file that fails is skipped and listed in failed with the reason; the rest continue.
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": {
"inputs": "<inputs>",
"steps": "<steps>",
"output_folder": "<output_folder>"
},
"name": "pdf_run_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | Steps run in order, such as [{"action":"rotate","options":{"pages":"1","angle":90}}]. | |
| inputs | Yes | PDF paths to process. | |
| suffix | No | Added to each output file name. | processed |
| output_folder | Yes | Folder for the new files, inside an allowed folder; created if missing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| failed | Yes | ||
| outputs | Yes |