- Demo is deployed and accessible
- Agent backend is healthy (check /api/health)
- ANTHROPIC_API_KEY is set
- Navigate to
/demos/frontend-tools - Verify a chat surface renders in the centered card
- Send a message: "Change the background to a blue-to-purple gradient."
- Verify the agent calls the
change_backgroundfrontend tool - Verify the page background updates to the requested gradient
- Click the "Sunset theme" suggestion — background changes to a sunset gradient
- Ask "Change the background back to default." — background resets
- Verify no errors in the console
- Verify the chat remains usable after multiple background changes
- Background element with
data-testid="background-container"reflects the CSS background value returned by the tool handler - Agent calls the tool and produces a short confirmation message