# Caution: Error Toast: Label & callout element for AI agents

> A warning or caveat as an app error toast that slides in from the window edge; Tink reacts with a sweat drop.

Canonical page: https://agentframes.ai/elements/tinker/caution/
Markdown: https://agentframes.ai/elements/tinker/caution.md

## Overview

- Name: Caution: Error Toast (`caution`), an element: one HyperFrames block per size
- Part of: the [Tinker](https://agentframes.ai/packs/tinker.md) pack (32 of 50). Available only through the All-access subscription.
- Category: Label & callout
- Purpose: A warning or caveat as an app error toast that slides in from the window edge; Tink reacts with a sweat drop.
- Pack: [Tinker](https://agentframes.ai/packs/tinker.md), included in All-access (from $14/month billed annually ($168/year), or $19 monthly)
- Subscribe: POST https://agentframes.ai/api/checkout/subscribe with interval=month or interval=year (optional currency=USD|GBP|EUR|AUD|CAD; 303 redirect to Stripe checkout; a human pays there). Then download any pack with the subscriber key: https://agentframes.ai/account.md
- Aspects: 16:9 (native), 9:16 (native), 4:5 (native), 1:1 (native)
- Canvases: works on Cream (warm paper) (`cream`), Sky (pale blue) (`sky`), Blush (pale pink) (`blush`); avoid none
- Typical duration: 8s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/tinker/caution.mp4
- Poster: https://agentframes.ai/media/tinker/caution.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Tinker pack. Add a `caution` beat to plan.json on a `cream` canvas with slots `label`, `title`, `body`, `windowTitle`, `context`, `toastTitle`, `warning`, `action`, `sceneIndex` and `sceneTotal` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `label` | string | label | {"type":"string","minLength":1,"maxLength":34} | 08 / A CAVEAT |
| `title` | string | title | {"type":"string","minLength":1,"maxLength":60} | Not everyone’s the same |
| `body` | string | body | {"type":"string","minLength":1,"maxLength":96} |  |
| `windowTitle` | string | windowTitle | {"type":"string","minLength":1,"maxLength":28} | caffeine_guide.txt |
| `context` | string | context | {"type":"string","minLength":1,"maxLength":100} | 400 mg a day is a guide for most healthy adults. |
| `toastTitle` | string | toastTitle | {"type":"string","minLength":1,"maxLength":26} | Check first |
| `warning` | string | warning | {"type":"string","minLength":1,"maxLength":110} | Pregnancy, some medicines and heart conditions lower the safe amount. Ask a doctor. |
| `action` | string | action | {"type":"string","minLength":1,"maxLength":20} | Got it |
| `sceneIndex` | number | Zero-based scene position (footer playhead) |  | 0 |
| `sceneTotal` | number | Total scenes (footer playhead) |  | 1 |

## What your agent can change

**Caution: Error Toast** (Annotations). Native 1920×1080, 8s at 30fps.

A warning or caveat as an app error toast that slides in from the window edge; Tink reacts with a sweat drop.

**Motion.** The content window is already there; the red toast slides in (wide: from the top; tall: up from the bottom) with a little shake, its icon pulses once, and Tink flinches with a sweat drop, then nods.
**Why it moves.** attention: a toast interrupts, which is exactly what a caveat should do.

### Mount

Copy every manifest file path → target into your project (plus `af-tinker-runtime`). Mount with a unique host id, `data-composition-id="af-tinker-caution-16x9"`,
`data-composition-src="compositions/af-tinker-caution-16x9.html"`, `data-duration="8"` and native `data-variable-values`.
Use the variant whose size matches your project (16x9, 9x16, 4x5, 1x1): each is laid out natively, never scaled.

### Content slots

Nested slots are JSON strings inside `data-variable-values`. Every slot is checked against `constraints.json` before anything draws;
the block stops with a message naming the slot, its value and the fix (it never truncates or shrinks text to fit). Measured layout
limits (lines per box, items per layout) are also enforced and reported the same way.

- `label`: string. {"type":"string","minLength":1,"maxLength":34}
- `title` (required): string. {"type":"string","minLength":1,"maxLength":60}
- `body`: string. {"type":"string","minLength":1,"maxLength":96}
- `windowTitle`: string. {"type":"string","minLength":1,"maxLength":28}
- `context`: string. {"type":"string","minLength":1,"maxLength":100}
- `toastTitle` (required): string. {"type":"string","minLength":1,"maxLength":26}
- `warning` (required): string. {"type":"string","minLength":1,"maxLength":110}
- `action`: string. {"type":"string","minLength":1,"maxLength":20}

- Use it for caveats and limits, not for decoration.

Style (role "style", defaults from brand.json): `brandName`, `series`, `colourway` (cream | sky | blush), `accent`, `buddyColour`,
`headingFont` (Lilita One | Fredoka), `bodyFont` (Patrick Hand | Nunito), `logo` (empty or inline base64 image), `footer`.
Footer playhead: `sceneIndex` (zero-based) and `sceneTotal`.

### Timing

8s. Everything has landed by 4.8s (60%), then the scene holds for reading and lifts out over the last 0.4 s. A reading-time check rejects copy that would not be readable before the outro.


### Example

```json
{
  "label": "08 / A CAVEAT",
  "title": "Not everyone’s the same",
  "windowTitle": "caffeine_guide.txt",
  "context": "400 mg a day is a guide for most healthy adults.",
  "toastTitle": "Check first",
  "warning": "Pregnancy, some medicines and heart conditions lower the safe amount. Ask a doctor.",
  "action": "Got it"
}
```

Source: editable HTML + the shared runtime. Facts in the example content: see the pack's docs/SOURCES.md.

## FAQ

### What can my AI agent change in Caution: Error Toast?

Your agent fills the `label`, `title`, `body`, `windowTitle`, `context`, `toastTitle`, `warning`, `action`, `sceneIndex` and `sceneTotal` slots through the block's data-variable-values (or the starter project's variables). Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Tinker look.

### Which aspect ratios does Caution: Error Toast support?

Caution: Error Toast is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 8s.

### How do I get Caution: Error Toast?

Caution: Error Toast is included in the Tinker pack, which is part of the AgentFrames All-access subscription along with 49 other templates in this pack and every other pack on the store. You get the full source, the editing contracts and the agent instructions.

## More in Tinker

- [Pointer Callout: Tink Reaches the Target](https://agentframes.ai/elements/tinker/pointer-callout.md): Points at one item in a list or screen and explains it in a sticky note; Tink's arm stretches to touch the exact row.
- [Legend: Dock Panel Slides Out](https://agentframes.ai/elements/tinker/legend.md): A key for the colours in a diagram: a small coloured diagram sits in the window and the legend panel slides out of the side dock with each swatch in turn.
- [Key Phrase: Editor Selection + Sticker](https://agentframes.ai/elements/tinker/key-phrase.md): Emphasises one phrase in a sentence: an editor-style selection sweeps across the phrase, then a sticker word slaps on.
- [Magnifier: Detail Inside the Big Picture](https://agentframes.ai/elements/tinker/magnifier-zoom.md): Zooms into one item of a bigger picture: Tink holds a magnifier over it and the lens shows an enlarged detail card.

## Community

Coming soon.
