Commit 79fae10
committed
fix: remove outputSchema from tools for Claude Code compatibility
Claude Code doesn't support the outputSchema field in MCP tool
definitions (added in protocol 2025-03-26). Its presence caused tool
search to not find any iwdp-mcp tools.
Fix: use `any` as the output type parameter in all AddTool handlers,
which prevents the Go SDK from generating outputSchema. This matches
how chrome-devtools-mcp (which works) defines its tools.1 parent 0033302 commit 79fae10
2 files changed
Lines changed: 114 additions & 114 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments