Files
morluto 786b04f015 fix(mcp): keep defaults, scalar rules, examples and field semantics in compact schemas
Compact input schemas dropped facts an agent needs for a correct first
call: every default, the enums and bounds of reduced root properties, any
example for reduced or pruned schemas, and the Frida cross-field rules.
Name-keyed fallback descriptions also labelled fields of another type.

- Tool guidance names root property defaults in one "Defaults:" sentence.
- A reduced schema keeps the enum, const, pattern and bounds of each
  scalar root property.
- A reduced or depth-pruned schema states its smallest canonical example
  (up to 1,024 bytes), and a pruned schema says nested fields are omitted.
- Frida contracts state each cross-field rule once, as the refusal and
  the root description.
- Fallback descriptions apply only to a property of the JSON type they
  describe; they move to propertyFallbackDescriptions.ts.

Refs #15311
Refs #15328
2026-11-30 19:00:21 -05:00
..