Spaces:
Sleeping
Sleeping
Download extract_pdf_section/function_call.json from Sayoyo/skill-library: direct link, hf CLI and curl.
- Browser
- Download file 1.02 kB
-
https://huggingface.co/spaces/Sayoyo/skill-library/resolve/main/extract_pdf_section/function_call.json
- Command line
-
hf download hf://spaces/Sayoyo/skill-library/extract_pdf_section/function_call.json
-
curl -L -o function_call.json https://huggingface.co/spaces/Sayoyo/skill-library/resolve/main/extract_pdf_section/function_call.json
1.02 kB
| { | |
| "name": "extract_pdf_section", | |
| "description": "Extracts a specified section from a PDF file and saves it as a new PDF.\n\nextract_pdf_section('input.pdf', 2, 5, 'output.pdf')", | |
| "parameters": { | |
| "type": "object", | |
| "properties": { | |
| "pdf_path": { | |
| "type": "string", | |
| "description": "The path to the PDF file." | |
| }, | |
| "start_page": { | |
| "type": "integer", | |
| "description": "The starting page of the section to extract." | |
| }, | |
| "end_page": { | |
| "type": "integer", | |
| "description": "The ending page of the section to extract." | |
| }, | |
| "output_path": { | |
| "type": "string", | |
| "description": "The path to save the extracted section as a new PDF file." | |
| } | |
| }, | |
| "required": [ | |
| "pdf_path", | |
| "start_page", | |
| "end_page", | |
| "output_path" | |
| ] | |
| } | |
| } |