Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,25 +358,6 @@ For more examples, check out the [examples/](examples/) directory:
- [CrewAI Integration](examples/crewai_integration.py)
- [Meta Tools](examples/meta_tools_example.py)

## Migration from `get_tools()` to `fetch_tools()`

If you're upgrading from a previous version that used `get_tools()`, here's how to migrate:

```python
# Before (deprecated)
tools = toolset.get_tools("hris_*", account_id="acc-123")

# After
tools = toolset.fetch_tools(actions=["hris_*"], account_ids=["acc-123"])
```

Key differences:

- `fetch_tools()` uses keyword arguments for all filtering
- `account_id` becomes `account_ids` (list)
- Filter patterns go in the `actions` parameter (list)
- `fetch_tools()` requires the MCP extra (`pip install 'stackone-ai[mcp]'`)

## License

Apache 2.0 License