submit_pdf_job
Convert a webpage URL or HTML to PDF asynchronously and get a job ID for status tracking.
Instructions
Submit a webpage URL or HTML to be converted to a PDF asynchronously. This will return a Job ID. You MUST then use the check_pdf_status tool to poll the status and download the PDF.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "submit_pdf_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The URL of the webpage to convert to PDF. Use this OR html. | |
| html | No | The raw HTML string to convert to PDF. Use this OR url. | |
| format | No | The paper format (e.g. A4, Letter). Defaults to A4. | |
| printBackground | No | Whether to print background graphics. Defaults to true. |