Files
pdfcraft/crates
EromoseleandEromosele 9c42c0c5fe fix(automation): no top-level oneOf in form_set_props input schema (#1961) (#1967)
Anthropic's tool API rejects a request when any tool's input_schema has
oneOf, anyOf or allOf at the top level, so attaching `pdfcraft-cli mcp`
to a Claude-based client made every prompt fail. The field/fields rule is
already enforced in the form_set_props handler and described in the
schema, so the oneOf is dropped.

tool_table_is_well_formed now checks that no tool has a top-level
oneOf/anyOf/allOf.

Co-authored-by: Eromosele <188490945+andreero0@users.noreply.github.com>
2026-10-15 02:34:20 -04:00
..