Preview what the person will see
previewRequestRenders the form or approval card exactly as a recipient sees it, at phone (390 px) and desktop (1280 px) width, and returns screenshots plus plain-language lint (contrast, long labels, missing help). Takes the form or approval fields of createRequest (no audience, expiresIn, webhookUrl or metadata), plus viewports and sampleData. Preview before creating when the person will see the form more than once, then adjust theme and hints.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| theme | No | Colours, font and layout: https://runitby.app/llms.txt ("Theme"). | |
| title | Yes | ||
| locale | No | Language of the hosted page and its emails, optionally with a region for dates, like "es-AR". Write the title and questions in the same language. | |
| schema | No | JSON Schema (type object) for forms. Supported types, formats, widgets and limits: https://runitby.app/llms.txt ("Schema subset"). | |
| approval | No | ||
| sections | No | ||
| requester | No | How your agent introduces itself, e.g. "Ava (the Acme refunds agent)". | |
| viewports | No | Screenshot widths: 390 (phone) and/or 1280 (desktop). | |
| sampleData | No | Answers to prefill, to see how filled fields look. |