Extract PDF Pages
extract-pdf-pagesExtract a subset of pages from a PDF and return the result as a new PDF.
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": {
"file": "<file>",
"pages": "<pages>"
},
"name": "extract-pdf-pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Publicly reachable URL of the PDF file to extract from. | |
| async | No | Run the action asynchronously and return a job id instead of the result. Poll "check-job-status" or set "webhook_url" to receive a callback. | |
| pages | Yes | Page-range expression. Digits, comma, dash, "r" (reverse), "z" (last). | |
| webhook_url | No | Callback URL invoked when an async job finishes. Only used when "async" is true. |