29 lines
878 B
JSON
29 lines
878 B
JSON
{
|
|
"_comment": "D5 fixture for /demos/a2ui-fixed-schema. The pill prompt 'Find me a flight from SFO to JFK on United for $289.' triggers the `display_flight` tool which returns an a2ui_operations container; the renderer materializes the fixed-schema component tree.",
|
|
"fixtures": [
|
|
{
|
|
"match": { "userMessage": "SFO to JFK" },
|
|
"response": {
|
|
"content": "Here is the SFO to JFK flight on United.",
|
|
"toolCalls": [
|
|
{
|
|
"name": "display_flight",
|
|
"arguments": {
|
|
"origin": "SFO",
|
|
"destination": "JFK",
|
|
"airline": "United",
|
|
"price": "$289"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"match": { "userMessage": "render the a2ui schema" },
|
|
"response": {
|
|
"content": "The A2UI fixed-schema component was rendered."
|
|
}
|
|
}
|
|
]
|
|
}
|