pdf_extract_pages
Extract specific pages from a PDF into 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": {
"fileBase64": "<fileBase64>",
"pages": "<pages>"
},
"name": "pdf_extract_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | Yes | Comma-separated pages/ranges, e.g. '1,3-5,8' | |
| fileBase64 | Yes | The input file as a base64 string, without a data: prefix. |