返回 CodeWhale
anthropic_tool_use_deltas.case.json
根目录 / crates / tui / tests / fixtures / conformance / sse / anthropic_tool_use_deltas.case.json
1 {
2 "description": "Anthropic Messages: a text block then a tool_use block whose input arrives as partial JSON deltas; stop_reason tool_use.",
3 "route": "anthropic",
4 "model": "claude-sonnet-4-6",
5 "tools": [
6 {
7 "name": "get_weather",
8 "description": "Current weather for a city.",
9 "input_schema": {
10 "type": "object",
11 "properties": {
12 "city": {
13 "type": "string"
14 }
15 },
16 "required": [
17 "city"
18 ]
19 }
20 }
21 ]
22 }
23
23 lines JSON