langgraph_agent_toolkit.agents.blueprints.hitl_agent.agent module
Example create_agent agent with tool approval.
- langgraph_agent_toolkit.agents.blueprints.hitl_agent.agent.build_graph(extra_tools=(), *, tool_selection=None, selector_model=None, extra_middleware=())[source][source]
Build the graph with email approval and supplied tools.
- Parameters:
extra_tools (Sequence[BaseTool])
tool_selection (ToolSelectionConfig | None)
selector_model (BaseChatModel | None)
extra_middleware (Sequence[AgentMiddleware])
- Return type:
Pregel