Start a PDF creation session
create_pdfStart a new PDF document by creating an in-memory session with a blank page and optional metadata, returning a session ID for subsequent content addition.
Instructions
Open an in-memory PDF building session; the first step of authoring a PDF.
Returns JSON {session_id, status, page_size}. No file is written here — this only allocates a session (with one blank starting page) held in server memory and subject to a TTL. Not idempotent: each call creates a new session.
Workflow: create_pdf → add_pdf_content (text / new pages, repeatable) → save_pdf (writes the file and closes the session). To annotate or fill an existing PDF instead of authoring one, use annotate_pdf or manage_forms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Document title; stored in the PDF metadata on save. | |
| author | No | Document author; stored in the PDF metadata on save. | |
| page_size | No | Page size for every page in this document. | a4 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |