Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

server-tool-single.json

25 lines565 Bytes

1{
2 "fixtures": [
3 {
4 "match": {
5 "userMessage": "[server-tool-single] run test",
6 "sequenceIndex": 0
7 },
8 "response": {
9 "content": "Let me get the weather for you.",
10 "toolCalls": [
11 { "name": "get_weather", "arguments": "{\"city\":\"San Francisco\"}" }
12 ]
13 }
14 },
15 {
16 "match": {
17 "userMessage": "[server-tool-single] run test",
18 "sequenceIndex": 1
19 },
20 "response": {
21 "content": "The weather in San Francisco is 72\u00b0F and sunny."
22 }
23 }
24 ]