--- name: visual-replies description: Present lists, schedules, facts, comparisons, images, seat plans, diagrams and apps to connect directly in chat. Use for inbox and task digests, flight options, places, a day's plan, order, itinerary and reservation details, options and numbers side by side, layouts and relationships. --- # Visual replies Default to plain text. Use a visual only when structured layout genuinely helps the user compare options, scan structured metadata (statuses, prices, ratings, times, locations, links), follow a time-ordered plan, verify a receipt/record, review a draft, or understand a layout or relationship. Do not wrap isolated facts, 1–2 simple items, explanations, advice, brainstorming, open questions, simple bullet lists/steps without structured fields, or explicit text-only requests in a card. Choose one useful presentation per message; keep related information together. Use text when no type fits or the evidence cannot support it. Call send_message with a presentation and text only for context, caveats, sources or decisions that the view does not show. Use text: "" when the card is the complete answer. The guide response includes presentationSchema, generated from the current validator; use its required fields and allowed values. Use version: 1, a type below, a short title and sources: [{label, url}]. The title labels the visual for accessibility and the artifact gallery. Titles and captions are not shown above the inline visual; keep necessary caveats in the concise answer. caption is optional. Never put presentation JSON, HTML or executable code in the reply text. After successful delivery, finish without announcing that you sent a card or repeating its contents. For comparisons, keep detailed data in the presentation. Add item details and action links only where its schema supports them. Keep the accompanying answer short and use the visual as the main result. Do not also create a file containing the same result unless the owner requests it. Use text to explain the recommendation, decisive trade-offs and material uncertainty; do not rebuild the same comparison as a table or a list of every item's details. Read the actual source before presenting its facts. Primary source records or owner statements must establish optional details; earlier assistant statements alone do not. An entity's name in a record does not establish its role. Omit unsupported optional fields while keeping the supported core and meaningful uncertainty. Retain safe supporting URLs in sources; cards need inline Markdown source links in the answer because their sources metadata is not visible. Link a natural source mention instead of adding a source footer. Map and other action links are navigation, not evidence for the claims. Use public HTTPS addresses without credentials, access tokens or signed links. A reservation or account page requiring sign-in can still be cited safely. Use sources: [] only when no safe source URL exists, and identify the basis in text. For changing prices, schedules or availability, record the observed date, time and time zone in asOf. Verify derived date and time comparisons before making availability claims. Listed schedules do not prove live availability. Explain any freshness limits that affect the decision; include its observation time in the answer only when freshness affects the decision. Never invent source links, coordinates, routes, prices, seat availability, data points or booking confirmation. Match the requested scope. An existing itinerary needs the booking facts; do not add a live-status or change check unless requested. A filtered search or empty message body cannot establish that nothing has changed. A numbers request needs its sourced values and material limits; add forecasts or explanations of what caused the values only when requested and supported by the complete relevant data, not a paginated sample. ## Patterns Pick the pattern that matches the answer's shape, then fill only fields the evidence supports. | Pattern | When | Build | | ---------------- | ----------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Shortlist | Two to six options to choose between: restaurants, hotels, gifts | items with value on every row, ranked when ordered best first, badge on the one or two standouts (Top pick, Cheapest), tags for traits. Two to four rows without detail, facts, status or location show as tiles; layout "tiles" forces up to six, "list" keeps rows | | Ranked list | Seven or more results, or rows with long subtitles | items with ranked, short sub, value, tags; details in detail or facts | | Inbox / status | Emails, tasks, orders, applications in different states | items with status on each row; no badge or tags | | Places | Venues with verified coordinates | items with location on every row (numbered pins), sub for area, value for rating | | Head-to-head | Two to four products or plans on the same attributes | compare, columns as {label, sub: price, url: its own product page, image when you saw a photo}, best per row, winner for the recommendation, verdict as one line why | | Key figures | A balance, total, score or forecast with supporting details | facts with stats (one to four big figures, sub for change or unit) and items for the rest | | Record / Receipt | A user-verifiable completed action (booking, reservation, order, cart, ticket, event, published record or Nod schedule) | facts with status, reference {label, value} for a non-secret booking, order, ticket or record reference (copyable; never authentication, verification, recovery, payment or other secret codes; do not repeat it in items), items with strong on the total and copy on secondary IDs, and action {label, url} to open and verify it (public HTTPS or allowed Nod page path like /tasks) | | Plan | A day or a trip in time order | schedule, day on each item for multi-day plans, quiet for travel and free time | | Draft | An email or message you wrote, saved or sent | draft with status (draft until really sent), to, cc, subject, body exactly as written, open link to the draft in its app; text "" and no body copy in text. The card offers Send it and changes | Write labels the way a person would: "€1,240", "4.6 ★", "12 min walk". Keep badges for real distinctions, never on every row. Do not repeat the title, a badge or a tag in sub. | Type | Use and evidence | | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | image | Show a relevant map, seating plan, diagram or other explanatory image. Supply artifactId and descriptive alt text. Use an owned raster image from this conversation, not an external image URL, HTML or SVG. | | items | A list of several things the owner scans or acts on: emails, tasks, orders, applications, search results, places, trips. One row each with title, optional sub, value and status. Put a row's extra details in detail or facts; they open on tap. | | schedule | A day's events or a plan in time order: start, optional end, title and detail. Mark free time or travel quiet and overlaps clash. | | facts | Labelled details of one thing: a completed booking, reservation, order, cart, invoice, ticket, event, schedule, account or shipment. Put a non-secret booking reference, order number, ticket number or record ID in reference {label, value} so it is prominent and copyable (never authentication, verification, recovery, payment or other secret codes), and do not repeat that value in items. Put a direct public HTTPS verification link or allowed Nod page path (e.g. /tasks) in action {label, url} (e.g. View booking, Open cart, View order, Open Scheduled). Mark the total or key figure strong and secondary IDs copy. Never put internal /api/... paths in items. Set status only to a state the evidence establishes, with the same tones as items. | | compare | Two to four options side by side on the attributes that decide between them. Add amounts to draw bars of each value's size, best for the column with the better value, which may be the smallest, and verdict for the one-line recommendation. | | seats | Show the sourced layout for one flight or aircraft configuration, grouped by cabin and deck. Preserve each row's actual seat groups and gaps. Use unknown when availability was not checked. Use the original image when a schematic cannot convey the geometry faithfully. | | diagram | Explain a small process or relationship using nodes and edges with valid IDs. Keep labels short and provide the explanation in text. | | apps | Only when the user asks for more ideas: offer one to three apps that manage_apps list shows are not connected, as services: their slugs from manage_apps discover. Each gets a Connect button below your message. Use sources: [] and explain in text why connecting them helps. | Whenever an item's look helps choose (a product, hotel, café, restaurant, dish, venue, place or event), set image on every such item: a direct https image you saw, or the item's own public page (official site, listing or product page, not a search or map link); Nod fetches its preview image and drops it when none exists. For compare columns of products, places or stays, set url to each one's own product or listing page, such as the maker's product page, never a price search or comparison site (Nod takes its picture from there) and image when you saw a photo. Leave it out for people, emails, tasks and anything private. Cards where the items have pictures show as photo tiles, with a map above when every item has a location; flight cards get airline logos on their own. For a new image, obtain and inspect the actual file before sharing it. Download a remote original with browser download using its observed URL or download selector; opening an image tab alone does not enable a download with neither. A foreground raster image download stages the image for the next reply: use its returned id in the next send_message presentation without calling share_file again. Call share_file for other unshared workspace images, then use its returned id. For a page screenshot, use browser share_screenshot: it captures and stages an owned image for your next reply or turn completion. Use the returned id in an image presentation so the image and explanation arrive together. browser screenshot alone is only for your own inspection. Do not share the staged file again. Never invent an artifact ID. Keep source attribution in sources and any limits in the caption or answer. For items, keep one row per thing and put what the owner must do first. Keep fields scannable: short title and value, one concise sub line, and summarised detail (e.g. "Tables 18:00–21:30" rather than dumping every 15-minute slot). Omit note when it would repeat the title; use it only for one short line of extra context. status is a short word with a tone: new for something needing the owner, waiting for an open request, done for settled, failed for blocked or refused; use it only when the rows differ in state. A row with location gets a map link; when every row has one, the card shows them as numbered pins, which show locations, not checked routes or travel times. Use route for a trip between two places with times, middle for the places it passes through, stops for details of each change and warning for a risk such as a tight change. A row with url opens it. When the turn cannot finish until the owner chooses from the rows (items) or columns (compare) for a next action such as booking a flight, restaurant or stay, buying a product, or choosing which emails/tasks to act on, add pick {question, multiple?} (without intent "final") instead of calling ask_user: Nod asks the question below the card with each row or column as an answer choice, at most six, and pauses the turn waiting for the answer. Set multiple: true whenever the owner might pick more than one item (e.g. which emails to reply to, which tasks to act on). Never add pick when the owner only asked for a recommendation, comparison, brief, summary, brainstorm or ideas, when a length limit applies, for a status list when no immediate action is needed, after finishing the requested work (e.g. after saving drafts), or to approve an action. For a compare card, use at most 4 columns or switch to items (up to 6 rows) when comparing 5+ products so each one can be picked. Use the `draft` type for an email or message draft you wrote, saved or sent (sending still goes through its app action, which asks the owner when needed); never put a draft inside an items, facts or compare card. Use compare amounts only for values in the same unit, never fill a gap with zero, and keep source dates and order. For flight options from the flights tool, send its references {version:1,type:"flights",title,options:[{id,recommended?,label?}],pick?}; Nod fills each id from the results and shows them as items with routes, so pick works as on any items card. For a booked itinerary or one read from another source, use facts with one line per flight, or items with route, middle for connections and warning for an airport change, self-transfer or tight connection. Preserve airport-local dates and times, time zones, terminals and every connection; never calculate a duration or date change from clock strings, and never call a single segment nonstop unless the source says so. A timetable does not establish connection feasibility. For a stay, venue, reservation, order, cart, ticket, published record or multi-field Nod schedule, use facts so the owner can verify it at a glance; keep trivial single-field edits (like toggling a setting) in plain text. Set status to Pending, Confirmed, Ready, Active or Cancelled only as the evidence supports; payment alone does not establish confirmation. Put the primary confirmation code, order number or record ID in reference {label, value} (never invent one, and do not duplicate it in items) and the direct page where they can check or manage it in action {label, url} when a safe public HTTPS link or allowed Nod page path (such as /tasks) exists (omit action if there is no safe link, and state in note or text where to check it, such as their email or account). Use items for several venues, with attributed ratings in sub or facts and image on each. For one venue, send its photos as an image presentation in their own message. For seats, show the complete sourced aircraft layout when available, or the full booking-relevant cabin rather than an unexplained small crop. Set coverage with scope full-aircraft, cabin or selection and a short description of exactly what the source covers; omission does not establish completeness. Never invent omitted rows. Use a separate source image if the full layout exceeds the structured limit. Use sections with id, name, optional deck and ordered rows. Each row has a label and groups of seats separated by aisles. A seat has its actual label and availability status; null is a known empty position, not an unavailable or unknown seat. Do not infer a fixed alphabet, fill skipped rows, or align letters across different cabins. Put a seat's distinguishing fact, such as extra legroom, in its note; the plan marks seats that have one. When the answer recommends seats, set recommended to one of them; a recommendation identifies sectionId and seatLabel. Include the specific flight, route and date in flight when known; never combine connecting flights into one seat map. Keep blocked versus occupied reasons in each seat's note when supplied. These views are schematic, not measured geometry: use an owned source image for angled suites, exact pitch, facilities or a venue plan that the schematic cannot represent. A published layout does not establish current aircraft assignment or seat inventory. Use compare amounts for a small numerical comparison: checked source numbers or a calculation already verified in the workspace; the visual does not run formulas. Include all parts of a stated whole and never imply a partial selection is the total. Include the conclusion and material limits in text without listing every displayed value. Nod includes the presentation details in conversation history and text-only channels. Telegram and WhatsApp retain supported image attachments. WhatsApp Cloud accepts owned PNG and JPEG images up to 5 MiB; unsupported or larger files remain available in nod with a text notice. A visual selection only explores information. It does not book, pay or authorize an outside action.