extract_pages
Extract specific pages from a PDF by page number and save them to a new file. Use it to isolate selected content into a separate PDF.
Instructions
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": {
"input_path": "<input_path>",
"pages": "<pages>",
"output_path": "<output_path>"
},
"name": "extract_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | Yes | 抽出するページ番号(1始まり)の配列 | |
| input_path | Yes | 元のPDFファイルのパス | |
| output_path | Yes | 出力先のファイルパス |