Split / extract pages
pdf_splitSplits a PDF into individual page files, optionally for selected pages, and writes each page to its own file in a chosen output directory.
Instructions
Write each requested page of a PDF into its own file inside out_dir.
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": {
"path": "<path>"
},
"name": "pdf_split"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| pages | No | 1-based page numbers. Omit for all pages. | |
| out_dir | No | directory for the page files (default: scratch dir) |