Developer tools
A tool is usually a function decorated with @tool from langchain_core.tools, but it becomes available only after the agent collects it from a module or provider.
Collection order
BaseAgent.get_tools()collects base tools and module tools.- Module wrappers mark tools with
module_idwhen a module has a label. - The graph adds service tools such as
thinkandmulti_tool_usewhen enabled. - Runtime providers and sandboxes can add more tools.
- MCP tools from dialog state are converted and appended.
Document the required provider, secret, and permission for each tool.