export_pdf
Convert a code repository into a PDF documentation file. Specify the repo path, an optional title, and output path to generate the document.
Instructions
Generate documentation and export it as a PDF file. Requires weasyprint and system dependencies (libpango, libcairo).
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": {
"repo_path": "<repo_path>"
},
"name": "export_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Document title. | |
| repo_path | Yes | Path to the repository. | |
| output_path | No | Path to save the .pdf file. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||