Initialise the ToolSet
Start by creating a StackOneToolSet instance:Fetch Tools
UsefetchTools() to dynamically load tools from StackOne’s MCP endpoint:
Execute Tools
Basic Tool Execution
Tool Filtering with fetchTools()
Filter by Account IDs
Filter by Providers
Filter by Actions with Glob Patterns
List Available Tools
Environment Configuration
Using Environment Variables
Example
Next Steps
- Build OpenAI agents with function calling
- Integrate with Vercel AI SDK for streaming
- Explore Meta Tools for dynamic capabilities
- Learn advanced tool filtering patterns