Commit 2a18d9b
fix: Prevent JSON serialization errors and accept keyword keys in tool properties
Changes:
- server.clj: Add loggable-spec that strips :handler functions before logging
to prevent JSON serialization errors when validation fails
- specs.clj: Accept both string and keyword keys in tool inputSchema.properties
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Pedro Branquinho <pedrogbranquinho@gmail.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 25213e7 commit 2a18d9b
2 files changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
| 312 | + | |
| 313 | + | |
312 | 314 | | |
313 | 315 | | |
314 | | - | |
315 | | - | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
316 | 323 | | |
317 | 324 | | |
318 | 325 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
529 | 529 | | |
530 | 530 | | |
531 | 531 | | |
532 | | - | |
| 532 | + | |
533 | 533 | | |
534 | 534 | | |
535 | 535 | | |
| |||
0 commit comments