Skip to content

Commit 28042ba

Browse files
committed
docs(langgraph): update usage example to connector-based naming
Update the docstring usage example in langgraph.py to use connector-based naming (hibob_*) and the current fetch_tools API instead of the deprecated get_tools method with unified API naming.
1 parent c1c42f8 commit 28042ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stackone_ai/integrations/langgraph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from stackone_ai.integrations.langgraph import to_tool_node
88
99
toolset = StackOneToolSet()
10-
tools = toolset.get_tools("hris_*", account_id="...")
10+
tools = toolset.fetch_tools(actions=["hibob_*"], account_ids=["..."])
1111
node = to_tool_node(tools) # langgraph.prebuilt.ToolNode
1212
"""
1313

0 commit comments

Comments
 (0)