Skip to main content
New to tool search? Start with Tool Search 101 for an overview of why, how, and when to use it.
The simplest way to use tool search: give your agent tool_search and tool_execute, and let it discover tools on demand.
Only 2 tools are sent to the LLM regardless of how many tools exist in your catalog. Token usage stays constant.

Framework Examples

When you need to find tools yourself before passing them to an agent:
No configuration needed. Defaults to auto mode with sensible defaults.
Set default search options at the constructor level. These apply to all search calls unless overridden per-call.

SearchConfig Options

Per-call overrides take precedence over constructor defaults:

Advanced Patterns

Returns action IDs and similarity scores without fetching full tool definitions. Use it to inspect results before committing to a full fetch.
search_action_names() works with just STACKONE_API_KEY, no account ID needed. When called without account_ids, results come from the full StackOne catalog.
Returns a callable SearchTool for agent loops where the LLM decides what to search for.

Next Steps