Renders an image thumbnail of a PDF document with a link to the full
| Surface | Note |
|---|---|
| googlechat | Renders as an image followed by a clickable link to the PDF, without complex layout. |
| Renders as an image followed by a clickable link to the PDF, without complex layout. |
| Field | Type | |
|---|---|---|
| pdf_url | string | required |
| thumbnail_url | string | required |
| title | string | required |
| alt_text | string | required |
{
"type": "pdf_preview",
"pdf_url": "https://example.com",
"thumbnail_url": "https://example.com",
"title": "Pdf Preview",
"alt_text": "Descriptive alt text for accessibility"
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:pdf_preview",
"displayName": "Pdf Preview",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/pdf_preview",
"capabilities": [
"web",
"meet-stage",
"apps-script-web"
],
"description": "Renders an image thumbnail of a PDF document with a link to the full",
"representativeQueries": [
"show a embedded PDF preview panel PDF",
"renders an image thumbnail of a pdf document with a link to the full",
"render a pdf preview"
]
}
The renderer is open source. Deploy your own instance in 4 commands — you own the URL, no dependency on the demo endpoint.
git clone https://github.com/a2uicatalog/a2ui
cd apps-script-surface/gas-schema-renderer
clasp push && clasp deploy
Full deploy guide →