{ "_meta": { "description": "D6 fixtures for strands / gen-ui-open", "sourceFile": "d5-gen-ui-open.ts", "created": "2026-05-22" }, "fixtures": [ { "_comment": "gen-ui-open — 3D axis visualization pill, 1st leg: emit generateSandboxedUi (iframe[srcdoc] >= 100 chars, the assertion threshold). sequenceIndex:0 gates it to the first match — Strands mints UUID tool ids so the toolCallId follow-up below can't match, and hasToolResult flips true after the tool runs; sequenceIndex is invariant to both, so the bare-userMessage content leg cleanly catches the follow-up turn.", "match": { "userMessage": "3D axis visualization", "sequenceIndex": 0, "context": "strands" }, "response": { "toolCalls": [ { "id": "call_d6_open_gen_ui_3d_001", "name": "generateSandboxedUi", "arguments": "{\"initialHeight\":400,\"placeholderMessages\":[\"Rendering 3D visualization…\"],\"css\":\"body{margin:0;background:#1a1a2e;display:flex;justify-content:center;align-items:center;min-height:100vh;font-family:system-ui}canvas{border-radius:8px;box-shadow:0 4px 20px rgba(0,0,0,0.5)}.label{position:absolute;color:#e2e8f0;font-size:12px;pointer-events:none}\",\"html\":\"