
Kai (Tam Nhu) TranandGitHub
f8c179f6da
fix(cliproxy): sanitize MCP tool input_schema to remove non-standard properties (#459)
Squash merge PR #459: MCP tool input_schema sanitization
Fixes #456 - Gemini/Vertex APIs reject non-standard JSON Schema properties from MCP tools
Changes:
- Add allowlist-based schema sanitizer for JSON Schema Draft-07 keywords
- Recursive sanitization with circular ref protection and depth limit
- Handle all schema containers: properties, items, additionalProperties, additionalItems, oneOf/anyOf/allOf, not, if/then/else, $defs, definitions, patternProperties, contains, propertyNames, dependencies
- 22 unit tests covering edge cases
- Integrates into ToolSanitizationProxy pipeline before tool name sanitization
2026-02-04 20:19:58 -05:00
..
2026-01-06 12:16:22 -05:00
2025-12-25 16:43:39 -05:00
2026-01-29 15:01:26 -05:00
2026-01-28 13:26:40 -05:00
2026-01-18 10:10:01 -05:00
2026-01-27 22:20:15 -05:00
2026-02-04 17:05:24 -05:00
2026-01-14 18:05:49 +01:00
2025-12-27 01:14:54 -05:00
2026-01-21 17:25:56 -05:00
2026-01-23 23:35:17 -05:00
2026-01-28 13:26:40 -05:00
2026-01-28 14:12:42 -05:00
2026-01-28 15:11:00 -05:00
2026-01-21 17:25:56 -05:00
2026-01-01 02:00:30 -05:00
2026-01-28 13:26:40 -05:00
2025-12-24 03:36:48 -05:00
2026-01-01 02:00:30 -05:00
2026-01-29 23:22:53 -05:00
2026-01-29 15:01:26 -05:00
2026-01-29 15:01:26 -05:00
2026-01-29 23:22:53 -05:00
2025-12-24 03:36:48 -05:00
2026-02-04 11:16:47 -05:00
2026-02-04 20:19:58 -05:00
2025-12-24 04:15:04 -05:00
2025-12-24 04:15:04 -05:00
2026-01-26 16:19:56 -05:00
2026-01-08 15:20:37 -05:00
2026-01-29 16:04:17 -05:00
2026-01-29 16:04:17 -05:00
2026-01-29 16:23:56 -05:00
2025-12-24 04:15:04 -05:00
2025-12-24 04:15:04 -05:00
2025-12-25 05:15:49 -05:00