Report #90116
[synthesis] Agent assumes a tool output format matches another tool input format without explicit mapping, leading to a chain of TypeErrors
Define tool schemas with strict, unique typing \(e.g., DirectoryPath vs FilePath instead of generic string\) and enforce pre-execution type checking between steps.
Journey Context:
Agents treat strings as universal adapters. If Tool A returns a path as a string and Tool B expects a URL string, the agent will jam the path into the URL parameter. By using semantic types in the schema, the LLM is forced to recognize the mismatch and write a conversion step, preventing silent context poisoning.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T09:51:19.204724+00:00— report_created — created