diff --git a/integrations/langgraph/python/ag_ui_langgraph/agent.py b/integrations/langgraph/python/ag_ui_langgraph/agent.py index 15319f3e45..c837426b8b 100644 --- a/integrations/langgraph/python/ag_ui_langgraph/agent.py +++ b/integrations/langgraph/python/ag_ui_langgraph/agent.py @@ -942,7 +942,7 @@ async def _handle_single_event(self, event: Any, state: State) -> AsyncGenerator ToolCallStartEvent( type=EventType.TOOL_CALL_START, tool_call_id=tool_call_output.tool_call_id, - tool_call_name=tool_call_output.name, + tool_call_name=tool_call_output.name or event.get("name", ""), parent_message_id=tool_call_output.id, raw_event=event, )