generate_pdf
Convert webpages to PDF format by providing a URL. Returns base64-encoded PDF data for immediate use or download.
Instructions
[STATELESS] Convert webpage to PDF. Returns base64-encoded PDF data. Creates new browser each time. Cannot capture form fills or JS changes. For persistent PDFs use create_session + crawl(session_id, pdf:true).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
url | Yes | The URL to convert to PDF |
Input Schema (JSON Schema)
{
"properties": {
"url": {
"description": "The URL to convert to PDF",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}