Files
copilotkit__copilotkit/showcase/aimock/d6/ms-agent-python/tool-rendering-custom-catchall.json
Jordan Ritter abe69c3d56 feat(showcase-aimock): D6 fixtures for Microsoft Agent Framework integrations
Adds per-integration D6 fixtures for ms-agent-python and ms-agent-dotnet.
2026-05-26 14:02:17 -07:00

66 lines
2.2 KiB
JSON

{
"_meta": {
"description": "D6 fixtures for ms-agent-python / tool-rendering-custom-catchall",
"sourceFile": "harness/fixtures/d5/tool-rendering.json",
"created": "2026-05-22"
},
"fixtures": [
{
"_comment": "custom-catchall turn 1: weather in Tokyo \u2014 follow-up content after get_weather tool ran. MUST come before tool-emitting fixture (first-match-wins).",
"match": {
"userMessage": "check Tokyo weather forecast",
"toolCallId": "call_d5_get_weather_001",
"context": "ms-agent-python"
},
"response": {
"content": "Tokyo is 22\u00b0C and partly cloudy."
}
},
{
"_comment": "custom-catchall turn 1: weather in Tokyo \u2014 emit get_weather tool call. The custom wildcard renderer will catch this since there is no per-tool renderer registered.",
"match": {
"userMessage": "check Tokyo weather forecast",
"hasToolResult": false,
"context": "ms-agent-python"
},
"response": {
"toolCalls": [
{
"id": "call_d5_get_weather_001",
"name": "get_weather",
"arguments": "{\"location\":\"Tokyo\"}"
}
]
}
},
{
"_comment": "custom-catchall turn 2: AAPL stock price \u2014 follow-up content after get_stock_price tool ran. MUST come before tool-emitting fixture.",
"match": {
"userMessage": "current price of AAPL",
"toolCallId": "call_d5_get_stock_price_001",
"context": "ms-agent-python"
},
"response": {
"content": "AAPL is trading at $189.42, up 1.27% on the day."
}
},
{
"_comment": "custom-catchall turn 2: AAPL stock price \u2014 emit get_stock_price tool call. The custom wildcard renderer catches this as the second tool through the same testid.",
"match": {
"userMessage": "current price of AAPL",
"hasToolResult": false,
"context": "ms-agent-python"
},
"response": {
"toolCalls": [
{
"id": "call_d5_get_stock_price_001",
"name": "get_stock_price",
"arguments": "{\"ticker\":\"AAPL\"}"
}
]
}
}
]
}