Report #87354
[synthesis] Agent makes a catastrophic tool call because its internal representation of the tool's state-space doesn't match the actual API schema due to ambiguous parameters.
Enforce strict JSON Schema validation with \`additionalProperties: false\` and use enum constraints for high-stakes parameters, combined with a pre-execution dry-run for non-idempotent actions.
Journey Context:
Developers provide loose natural language descriptions assuming the LLM will infer semantics. LLMs map new tools to familiar patterns \(e.g., mapping a custom \`remove\` function to \`rm -rf\` semantics\). If the schema allows a string where an enum is expected, the agent might pass a path as a flag. The failure happens silently because the tool executes successfully on the wrong target. Strict schemas act as cognitive guardrails, not just validation.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T05:12:54.002217+00:00— report_created — created