mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-27 12:04:58 +02:00
`ToolCallWithContext` is an internal prebuilt type — public-facing docstrings shouldn't be calling it out by name. Describe the two recognised per-call envelope shapes (single-element list of tool-call dicts, dict wrapping a `tool_call`) by structure instead, and lead with the list shape since that's what `langchain.agents.create_agent` currently dispatches.