Ai Build Trace

Token usage and model trace card — shows Gemini call stats inline on a page

Surfaces
google-apps-script-webmcp-apps
Live preview
🤖 AI Build Trace
Fields
FieldType
modelstring (optional, e.g. gemini-2.5-flash)optional
prompt_tokensintegeroptional
thinking_tokensintegeroptional
output_tokensintegeroptional
total_tokensintegeroptional
Example payload
{
  "type": "ai_build_trace"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:ai_build_trace",
  "displayName": "Ai Build Trace",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/ai_build_trace",
  "capabilities": [
    "google-apps-script-web",
    "mcp-apps"
  ],
  "description": "Token usage and model trace card \u2014 shows Gemini call stats inline on a page",
  "representativeQueries": [
    "show a Gemini token usage trace card",
    "token usage and model trace card \u2014 shows gemini call stats inline on a page",
    "render a ai build trace"
  ]
}
← Full ARD catalog
Deploy your own Google Apps Script renderer

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 →