Skip to content

Compatibility matrix

What each target does with each JSON Schema keyword, and the rule that rewrites it. The table below is produced by scripts/gen_matrix.py from the provider rules in rules/, the same generator that keeps the README current. Every rule is backed by a recorded API response, a live probe or a documentation citation; see evidence & live verification.

How to read this table: โœ… means the target enforces the constraint; ๐Ÿ” means mcp-schema-bridge rewrites it to an enforced equivalent (like const โ†’ enum); โš ๏ธ and โŒ mean the constraint is stripped and restated as a description hint (lossy).

Generated from rules/*.json (rules_version 2026.11.26) by scripts/gen_matrix.py.

Target API field Strict Evidence Verified on
gemini-json parametersJsonSchema no 1 assumed, 3 doc, 7 probe, 3 recorded 2026-11-26
openai parameters no 2 doc, 3 reported 2026-11-26
openai-strict parameters yes 2 assumed, 5 doc, 1 probe, 3 recorded, 2 reported 2026-11-26
anthropic input_schema no 2 doc, 2 reported 2026-11-26
anthropic-strict input_schema yes 9 doc, 1 reported 2026-11-26
Keyword gemini-json openai openai-strict anthropic anthropic-strict
type โœ… โ˜‘๏ธ โœ… โ˜‘๏ธ โœ…
enum โœ… โ˜‘๏ธ โœ… โ˜‘๏ธ โœ…
const ๐Ÿ” โ˜‘๏ธ ๐Ÿ” โ˜‘๏ธ โœ…
anyOf โœ… โ˜‘๏ธ โœ… โ˜‘๏ธ โœ…
oneOf ๐Ÿ” โ˜‘๏ธ ๐Ÿ” โ˜‘๏ธ ๐Ÿ”
allOf ๐Ÿ” โ˜‘๏ธ ๐Ÿ” โ˜‘๏ธ ๐Ÿ”
not โš ๏ธ โ˜‘๏ธ โŒ โ˜‘๏ธ โŒ
$ref โœ… โ˜‘๏ธ โœ… โ˜‘๏ธ โœ…
pattern โš ๏ธ โ˜‘๏ธ โœ… โ˜‘๏ธ โœ…
format โ˜‘๏ธ โ˜‘๏ธ โœ… โ˜‘๏ธ โœ…
minLength โš ๏ธ โ˜‘๏ธ โ€“ โ˜‘๏ธ โŒ
maxLength โš ๏ธ โ˜‘๏ธ โ€“ โ˜‘๏ธ โŒ
minimum โœ… โ˜‘๏ธ โœ… โ˜‘๏ธ โŒ
maximum โœ… โ˜‘๏ธ โœ… โ˜‘๏ธ โŒ
exclusiveMinimum โš ๏ธ โ˜‘๏ธ โœ… โ˜‘๏ธ โŒ
multipleOf โš ๏ธ โ˜‘๏ธ โœ… โ˜‘๏ธ โŒ
minItems โœ… โ˜‘๏ธ โœ… โ˜‘๏ธ โœ…
maxItems โœ… โ˜‘๏ธ โœ… โ˜‘๏ธ โŒ
uniqueItems โš ๏ธ โ˜‘๏ธ โ€“ โ˜‘๏ธ โŒ
prefixItems โ˜‘๏ธ โ˜‘๏ธ โ€“ โ˜‘๏ธ โ€“
default โ˜‘๏ธ โ˜‘๏ธ โ€“ โ˜‘๏ธ โ˜‘๏ธ

โœ… enforced on generated arguments ยท โ˜‘๏ธ accepted (kept; enforcement not guaranteed) ยท ๐Ÿ” rewritten to a supported form (oneOfโ†’anyOf, allOf merged, constโ†’enum) ยท โš ๏ธ accepted but silently ignored (removed and restated as a description hint) ยท โŒ rejected by the API (rewritten or removed with a hint) ยท โ€“ not supported (removed with a hint)