Code block with numbered yellow callout bubbles on specific lines,
| Surface | Note |
|---|---|
| callout bubbles may not render inline — consider code + steps instead |
{ "type": "stat_card", // [1] "value": "1B+", // [2] "label": "daily executions"}| Field | Type | |
|---|---|---|
| language | string | required |
| code | string | required |
| caption | string | optional |
| annotations | [{'line': 'integer', 'text': 'string'}] | required |
{
"type": "annotated_code",
"language": "json",
"code": "{\"type\": \"example\"}",
"annotations": 1
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:annotated_code",
"displayName": "Annotated Code",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/annotated_code",
"capabilities": [
"web",
"google-meet-stage",
"google-apps-script-web",
"mcp-apps"
],
"description": "Code block with numbered yellow callout bubbles on specific lines,",
"representativeQueries": [
"show a code block with numbered callout bubbles on specific lines explanation list below",
"code block with numbered yellow callout bubbles on specific lines,",
"render a annotated code"
]
}
The renderer is an open-source Google Apps Script web app. 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 a2ui/apps-script-surface/gas-wired-renderer
clasp push && clasp deploy
Full deploy guide →