Files
langchain/libs/core/tests/unit_tests
Nick Hollon b36d8ffaf7 feat(core): add subagent_name attribute to BaseTool
Declares the subagent a tool dispatches to. Accepts a static string
or a Callable[[ToolCall], str] for dynamic resolution at dispatch time.

This is a pure attribute addition with no behavior. Downstream
consumers (langgraph ToolNode, langchain create_agent's typed
projection) will read this attribute to surface subagent identity on
streaming lifecycle events.
2026-05-27 18:49:08 -04:00
..
2025-10-02 18:46:26 -04:00