Skip to content

Commit a127c6c

Browse files
committed
docs: document MCP-backed dynamic tool discovery feature
1 parent 5d4a5ea commit a127c6c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ StackOne AI provides a unified interface for accessing various SaaS tools throug
1414
- Glob pattern filtering with patterns like `"hris_*"` and exclusions `"!hris_delete_*"`
1515
- Provider and action filtering with `fetch_tools()`
1616
- Multi-account support
17+
- Dynamic MCP-backed discovery via `fetch_tools()` so you can pull the latest tools at runtime (accounts, providers, or globbed actions)
1718
- **Meta Tools** (Beta): Dynamic tool discovery and execution based on natural language queries using hybrid BM25 + TF-IDF search
1819
- Integration with popular AI frameworks:
1920
- OpenAI Functions
@@ -105,6 +106,8 @@ tools = toolset.get_tools(["hris_*", "!hris_delete_*"])
105106

106107
The `fetch_tools()` method provides advanced filtering by providers, actions, and account IDs:
107108

109+
> `fetch_tools()` uses the StackOne MCP server under the hood. Install the optional extra (`pip install 'stackone-ai[mcp]'`) on Python 3.10+ to enable dynamic discovery.
110+
108111
```python
109112
from stackone_ai import StackOneToolSet
110113

stackone_ai/toolset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
T = TypeVar("T")
4242

4343

44-
@dataclass(slots=True)
44+
@dataclass
4545
class _McpToolDefinition:
4646
name: str
4747
description: str | None

0 commit comments

Comments
 (0)