Files
copilotkit__copilotkit/showcase/aimock/d6/built-in-agent/tool-rendering-default-catchall.json
Jordan Ritter 03ce685ae6 feat(showcase-aimock): D6 fixtures for ag2, agno, crewai-crews, langroid,
llamaindex, mastra, pydantic-ai, spring-ai, strands, built-in-agent

Adds per-integration D6 fixtures across 10 additional showcase
integrations, completing coverage for all 18 integrations.
2026-05-26 14:02:18 -07:00

38 lines
1.3 KiB
JSON

{
"_meta": {
"description": "D6 fixtures for built-in-agent / tool-rendering-default-catchall",
"sourceFile": "d5-tool-rendering-default-catchall.ts",
"created": "2026-05-22"
},
"fixtures": [
{
"_comment": "tool-rendering-default-catchall \u2014 'weather in Tokyo'. Emits get_weather tool call. The built-in default catchall renderer fires for this tool. The D5 assertion checks copilot-tool-render testid with data-tool-name='get_weather' and a status pill. hasToolResult:false on the tool-emitting fixture.",
"match": {
"userMessage": "check Tokyo weather forecast",
"hasToolResult": false,
"context": "built-in-agent"
},
"response": {
"toolCalls": [
{
"id": "call_d6_dc_weather_001",
"name": "get_weather",
"arguments": "{\"location\":\"Tokyo\"}"
}
]
}
},
{
"_comment": "tool-rendering-default-catchall \u2014 follow-up after get_weather tool result.",
"match": {
"userMessage": "check Tokyo weather forecast",
"hasToolResult": true,
"context": "built-in-agent"
},
"response": {
"content": "Tokyo is 22\u00b0C and partly cloudy \u2014 the default catchall renderer should display the tool card with a status pill above."
}
}
]
}