smolagents/docs/source/en
Guillaume Raille a4d029da88
add support for MCP Servers tools as `ToolCollection` (#232)
* add support for tool collection from mcp servers

* add forgotten documentation

* fix link missing in documentation

* fix linting in CI, bumpruff to use modern version

* mcpadapt added as optional dependencies

* use classmethod for from_hub and from_mcp to better reflect the fact that they return a ToolCollection

* Update src/smolagents/tools.py

Co-authored-by: Albert Villanova del Moral <8515462+albertvillanova@users.noreply.github.com>

* Update src/smolagents/tools.py

Co-authored-by: Albert Villanova del Moral <8515462+albertvillanova@users.noreply.github.com>

* Test ToolCollection.from_mcp

* Rename to mcp extra

* Add mcp extra to test extra

* add a test for from_mcp

* fix typo

* fix tests

* Test ToolCollection.from_mcp

(cherry picked from commit 9284d9ea8cf24d3c934e35a38dfe34f3ce31cef3)

* Make all pytest tests

---------

Co-authored-by: Albert Villanova del Moral <8515462+albertvillanova@users.noreply.github.com>
2025-01-17 19:41:43 +01:00
..
conceptual_guides Fix minor docs (#173) 2025-01-13 16:31:36 +01:00
examples Dead Link to Duck Duck Go search tool (#233) 2025-01-16 23:04:40 +01:00
reference Allow passing kwargs to all models (#222) 2025-01-16 23:03:38 +01:00
tutorials add support for MCP Servers tools as `ToolCollection` (#232) 2025-01-17 19:41:43 +01:00
_config.py Move doc to 'en' subfolder 2024-12-31 12:46:17 +01:00
_toctree.yml Document OpenTelemetry (#204) 2025-01-15 16:07:34 +01:00
guided_tour.md docs: small fixes in docs (#245) 2025-01-17 19:20:25 +01:00
index.md Add license_to_call graphic to documentation index 2025-01-16 11:48:16 +01:00