The StackOne SDK provides glob-based filtering capabilities to help you select and manage specific tools across different SaaS platforms.

What Tool Filtering Enables

Tool filtering allows you to:
  • Select tools by category (HRIS, ATS, CRM, etc.)
  • Filter by specific actions (create, read, update, delete)
  • Combine multiple patterns for precise selection
  • Exclude specific tools or patterns

Basic Filtering Patterns

By Category

  • hris_* - All HRIS tools
  • ats_* - All ATS tools
  • crm_* - All CRM tools

By Action

  • *_create_* - All create operations
  • *_list_* - All list operations
  • *_get_* - All get operations

Combined Patterns

  • hris_create_* - HRIS create operations only
  • ats_list_* - ATS list operations only

Use Cases

  1. Category-Specific Agents: Build agents that only work with specific business domains
  2. Operation-Focused Tools: Create specialized agents for read-only or write operations
  3. Custom Tool Sets: Combine multiple patterns for precise control
  4. Performance Optimization: Load only the tools your agent actually needs

Python Naming Conventions

Tool Name Structure

StackOne tools follow the pattern: category_operation_entity
from stackone_ai import StackOneToolSet

toolset = StackOneToolSet()

# Get all HRIS tools
hris_tools = toolset.get_tools("hris_*", account_id=account_id)

# Get all create operations
create_tools = toolset.get_tools("*_create_*", account_id=account_id)

# Get specific employee tools
employee_tools = toolset.get_tools("*employee*", account_id=account_id)

Common Patterns

By Category:
  • hris_* - Human Resources
  • ats_* - Applicant Tracking
  • crm_* - Customer Relationship Management
  • marketing_* - Marketing Automation
By Operation:
  • *_list_* - Get multiple records
  • *_get_* - Get single record
  • *_create_* - Create new record
  • *_update_* - Update existing record
By Entity:
  • *employee* - Employee operations
  • *candidate* - Candidate operations
  • *contact* - Contact operations

Examples

For complete implementation examples, see: