Commit 7aefd9f
committed
feat(mcp): validate tool args with jsonschema
- validate cached MCP tool input schemas with jsonschema
- cache compiled validators with tool listings to avoid per-call builds
- surface disabled client-side validation in /mcp server output
- keep structured invalid-arguments payloads and focused integration tests
- raise the Rust floor to 1.83 for the validator dependency1 parent c9f7a0d commit 7aefd9f
File tree
10 files changed
+1147
-21
lines changed- src
- commands
- handlers
- core/app
- actions
- mcp/client
10 files changed
+1147
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
142 | | - | |
143 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
144 | 146 | | |
145 | 147 | | |
146 | 148 | | |
| |||
0 commit comments