Files
nofx/mcp
tinkle-community 138bbb1242 test(mcp): add ClaudeClient wire format tests
Tests cover all Anthropic-specific format conversions:
- system prompt lifted to top-level field
- tools use input_schema (not parameters)
- tool_choice is object {type:auto} not string
- assistant tool calls → content[{type:tool_use}]
- consecutive tool results merged into single user turn
- parseMCPResponseFull: text, tool_use, and error cases
- x-api-key header (not Authorization: Bearer)
- /messages endpoint URL
2026-03-08 17:44:50 +08:00
..
2025-11-15 23:04:53 -05:00
2025-12-08 01:43:22 +08:00
2025-12-08 01:43:22 +08:00
2025-12-08 01:43:22 +08:00