Skip to content

Commit bdcf90d

Browse files
authored
docs: remove obsolete migration section from README (#56)
Removes the migration guide for get_tools() to fetch_tools() transition. This section is no longer relevant since get_tools() was completely removed in favour of fetch_tools() (commit d50d5fb).
1 parent e1bdda5 commit bdcf90d

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

README.md

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -358,25 +358,6 @@ For more examples, check out the [examples/](examples/) directory:
358358
- [CrewAI Integration](examples/crewai_integration.py)
359359
- [Meta Tools](examples/meta_tools_example.py)
360360

361-
## Migration from `get_tools()` to `fetch_tools()`
362-
363-
If you're upgrading from a previous version that used `get_tools()`, here's how to migrate:
364-
365-
```python
366-
# Before (deprecated)
367-
tools = toolset.get_tools("hris_*", account_id="acc-123")
368-
369-
# After
370-
tools = toolset.fetch_tools(actions=["hris_*"], account_ids=["acc-123"])
371-
```
372-
373-
Key differences:
374-
375-
- `fetch_tools()` uses keyword arguments for all filtering
376-
- `account_id` becomes `account_ids` (list)
377-
- Filter patterns go in the `actions` parameter (list)
378-
- `fetch_tools()` requires the MCP extra (`pip install 'stackone-ai[mcp]'`)
379-
380361
## License
381362

382363
Apache 2.0 License

0 commit comments

Comments
 (0)