docs_export_pdf
Export documentation to PDF using browser automation, specifying source path, output file, and optional page selection.
Instructions
Generate PDF from documentation using Puppeteer/Playwright
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": {
"docsPath": "<docsPath>",
"outputPath": "<outputPath>"
},
"name": "docs_export_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docsPath | Yes | Path to documentation or built site | |
| outputPath | Yes | Output path for PDF file | |
| includePages | No | Specific pages to include (optional, includes all by default) |