Agent generates
The model emits semantic PTDF blocks: headings, paragraphs, lists, tables and more.
Your agent creates the content. PasteToPrint turns it into a structured, human-reviewable document — ready to edit, draw on, print or export.
/api/v2/documents201 Created{
"document": {
"version": "ptp.document/1",
"blocks": [
{ "type": "heading", "text": "Report" },
{ "type": "paragraph", "text": "..." }
]
}
}
Structured JSON in→Editor URL out
Instead of returning a wall of text, give the user a real document they can inspect and finish in a browser.
The model emits semantic PTDF blocks: headings, paragraphs, lists, tables and more.
The API validates the payload, selects a safe template and creates a temporary session.
The user reviews the result, confirms the import, then edits text, draws directly on the page, adds shapes or image layers, prints or exports it.
Every path converges on the same validated PTDF document and the same human-controlled editor handoff.
Managed PTDF may fill only an empty editor with Undo; print and export never start automatically.
Technical specification