Initialize the ToolSet
Start by creating a StackOneToolSet instance. The SDK automatically readsSTACKONE_API_KEY, so you typically only provide fallback account IDs or custom HTTP settings:
Get Tools
Use glob patterns to retrieve specific tools:Execute Tools
Basic Tool Execution
Alternative Execution Methods
Attaching Session Context to Calls
Both execution styles accept an optionaloptions keyword to pass metadata that is not forwarded to the StackOne API. The Python SDK uses this information to power telemetry features such as LangSmith implicit feedback streams:
Error Handling
Tool Filtering
Advanced Filtering Patterns
List Available Tools
Working with Results
Processing Tool Results
Handling Different Data Types
Environment Configuration
Using Environment Variables
Using python-dotenv
Dynamic Account Handling
Meta Tools
Use meta tools to discover and execute StackOne tools dynamically via natural language search:Implicit Feedback
The SDK can emit implicit behavioural signals to LangSmith whenever a tool is executed. Provide a LangSmith API key and optional overrides via environment variables:refinement_needed event so you can diagnose loops or poor results inside LangSmith.
Next Steps
- Build LangChain agents for sophisticated workflows
- Create multi-agent systems with CrewAI
- Use with OpenAI for function calling