mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-26 19:19:10 -06:00
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>