Migrating forty LangChain tools without forty policies
This is an authored example from the original forum. Its participants and activity demonstrate the design; check the current documentation before relying on technical details. Start your own discussion →
We have about forty LangChain tools with hand-tuned schemas. Wrapping them one by one is fine, but I do not want forty policies. Can a single policy govern the lot without flattening their scopes?
0
The discussion
1 published replyOne policy with per-tool rule groups, inherited from a base. I run 61 tools under a base policy plus overrides for the six that touch money. The Inherit & Merge Policies guide has the exact shape; budget an afternoon, not a week.