@@ -59,10 +59,10 @@ toolset = StackOneToolSet() # Uses STACKONE_API_KEY env var
5959# Or explicitly: toolset = StackOneToolSet(api_key="your-api-key")
6060
6161# Get HRIS-related tools with glob patterns
62- tools = toolset.fetch_tools(actions = [" hris_ *" ], account_ids = [" your-account-id" ])
62+ tools = toolset.fetch_tools(actions = [" bamboohr_ *" ], account_ids = [" your-account-id" ])
6363
6464# Use a specific tool with the call method
65- employee_tool = tools.get_tool(" hris_get_employee " )
65+ employee_tool = tools.get_tool(" bamboohr_get_employee " )
6666# Call with keyword arguments
6767employee = employee_tool.call(id = " employee-id" )
6868# Or with traditional execute method
@@ -108,9 +108,9 @@ tools = toolset.fetch_tools(providers=["hibob"])
108108- ** ` account_ids ` ** : Filter tools by account IDs. Tools will be loaded for each specified account.
109109- ** ` providers ` ** : Filter by provider names (e.g., ` ["hibob", "bamboohr"] ` ). Case-insensitive matching.
110110- ** ` actions ` ** : Filter by action patterns with glob support:
111- - Exact match: ` ["hris_list_employees "] `
111+ - Exact match: ` ["bamboohr_list_employees "] `
112112 - Glob pattern: ` ["*_list_employees"] ` matches all tools ending with ` _list_employees `
113- - Provider prefix: ` ["hris_ *"] ` matches all HRIS tools
113+ - Provider prefix: ` ["bamboohr_ *"] ` matches all BambooHR tools
114114
115115## Implicit Feedback (Beta)
116116
@@ -170,7 +170,7 @@ from stackone_ai import StackOneToolSet
170170
171171# Initialize StackOne tools
172172toolset = StackOneToolSet()
173- tools = toolset.fetch_tools(actions = [" hris_ *" ], account_ids = [" your-account-id" ])
173+ tools = toolset.fetch_tools(actions = [" bamboohr_ *" ], account_ids = [" your-account-id" ])
174174
175175# Convert to LangChain format
176176langchain_tools = tools.to_langchain()
@@ -217,7 +217,7 @@ from stackone_ai.integrations.langgraph import to_tool_node, bind_model_with_too
217217
218218# Prepare tools
219219toolset = StackOneToolSet()
220- tools = toolset.fetch_tools(actions = [" hris_ *" ], account_ids = [" your-account-id" ])
220+ tools = toolset.fetch_tools(actions = [" bamboohr_ *" ], account_ids = [" your-account-id" ])
221221langchain_tools = tools.to_langchain()
222222
223223class State (TypedDict ):
@@ -255,7 +255,7 @@ from stackone_ai import StackOneToolSet
255255
256256# Get tools and convert to LangChain format
257257toolset = StackOneToolSet()
258- tools = toolset.fetch_tools(actions = [" hris_ *" ], account_ids = [" your-account-id" ])
258+ tools = toolset.fetch_tools(actions = [" bamboohr_ *" ], account_ids = [" your-account-id" ])
259259langchain_tools = tools.to_langchain()
260260
261261# Create CrewAI agent with StackOne tools
@@ -297,7 +297,7 @@ feedback_tool = tools.get_tool("tool_feedback")
297297result = feedback_tool.call(
298298 feedback = " The HRIS tools are working great! Very fast response times." ,
299299 account_id = " acc_123456" ,
300- tool_names = [" hris_list_employees " , " hris_get_employee " ]
300+ tool_names = [" bamboohr_list_employees " , " bamboohr_get_employee " ]
301301)
302302```
303303
@@ -327,7 +327,7 @@ tools[0](limit=10)
327327
328328## Semantic Search
329329
330- Discover tools using natural language instead of exact names. Queries like "onboard new hire" resolve to the right actions even when the tool is called ` hris_create_employee ` .
330+ Discover tools using natural language instead of exact names. Queries like "onboard new hire" resolve to the right actions even when the tool is called ` bamboohr_create_employee ` .
331331
332332``` python
333333from stackone_ai import StackOneToolSet
0 commit comments