Repository navigation
docs: remove removed tools from live examples and tool table (#8631) - #8633
MindOfqc (MindOfqc) wants to merge 5 commits into
Conversation
Preview approval requiredThis pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit |
Strix Security ReviewWarning This pull request has 133 commits after the last Strix review ( ✅ No open security findings. PR summary: Documentation-only change that removes references to tools no longer present in `crewai-tools` (`CodeInterpreterTool`, `WikipediaTools`) from copy-paste examples and the available-tools table, mirrored across both doc versions and all four locales, so the snippets no longer fail on import. Review summaryReviewed all 32 changed files in the diff. Every one is a documentation file under Review 1 on this PR · Reviewed by Strix |
Vidit Ostwal (Vidit-Ostwal)
left a comment
There was a problem hiding this comment.
The docs/edge edits are the right fix. They drop CodeInterpreterTool and WikipediaTools from the copy-paste examples and the tools table in en, ar, ko, and pt-BR, and they leave the deprecation page alone.
Please drop every change under docs/v1.15.30. Those trees are frozen release snapshots and should not be edited in this pull request.
Also rebase onto main. This branch is behind.
7b328ac to
14163bc
Compare
|
Both points addressed — 1. Dropped every
|
|
Correction: this comment previously described the CrewBase/hooks changes from #8632, which do not belong to this PR. The relevant response for #8633 is the removed-tools update above. The current diff contains only the 16 live |
AGENTS.md and DOCS_TRANSLATIONS.md both forbid editing docs/v*/ trees, which are release snapshots managed by devtools. Reverts all 16 docs/v1.15.30 files so the fix lands on docs/edge only.
2bf8629 to
f896dc1
Compare
…tent-tools-from-examples
|
Both points are addressed.
On the rebase: I brought the branch up to date in One thing worth flagging for review: the deprecation notes in |
…tent-tools-from-examples
…tent-tools-from-examples
Fixes #8631
Problem
Several live code examples and the tools table in the docs still reference tools that no longer exist in
crewai-tools, so readers who copy the examples get anImportErroron the first line:CodeInterpreterTool— removed fromcrewai-tools(the docs themselves say so inconcepts/agents.mdxand the deprecation banner ontools/ai-ml/codeinterpretertool.mdx), yet it is still imported and instantiated in the "Combining Capabilities" example inconcepts/agent-capabilities.mdxand the "Skills + Tools" example inconcepts/skills.mdx, and still listed as an available tool in theconcepts/tools.mdxtable.WikipediaTools— no Wikipedia tool exists anywhere inlib/crewai-tools/src(nor in the tools table), yetconcepts/agents.mdx"Here's how to add tools to an agent" imports and instantiates it.Verified against
main:What changed
Removed the stale references from the live
docs/edgeconcept pages (languagesen,ko,pt-BR,ar). The final diff contains 16 files; frozendocs/v1.15.30snapshots are excluded:concepts/agent-capabilities.mdx: dropCodeInterpreterToolfrom the import and thetools=[...]list.concepts/skills.mdx: same.concepts/agents.mdx: dropWikipediaToolsfrom the import, the instantiation, and thetools=[search_tool, wiki_tool]list.concepts/tools.mdx: remove theCodeInterpreterToolrow from the available-tools table (consistent with the removal notes elsewhere in the same docs).Untouched on purpose:
tools/ai-ml/codeinterpretertool.mdx, which is a dedicated deprecated-tool page with an explicit deprecation banner.PGSearchTooltable row and its page (its page marks it "under development" rather than removed, so removal is a maintainer call).Verification
docs/edge/{en,ko,pt-BR,ar}/conceptsno longer instantiate the removed tools. The versioned documentation snapshots remain outside this PR.lib/crewai-tools/src/crewai_tools(SerperDevTool,FileReadTool).Note
Low Risk
Documentation-only edits to examples and tool tables; no runtime or library behavior changes.
Overview
Updates live documentation examples in
docs/edge(en, ko, pt-BR, ar) so copy-paste snippets only use tools that still exist increwai-tools.Code samples no longer import or instantiate
CodeInterpreterToolin agent-capabilities and skills “combine capabilities” examples, andWikipediaToolsis removed from the agents “add tools” example (examples now useSerperDevTool/FileReadToolonly).The available-tools table in each locale’s
concepts/tools.mdxdrops theCodeInterpreterToolrow, aligning the catalog with current package exports and with deprecation notes elsewhere in the docs.Reviewed by Cursor Bugbot for commit 45c75cb. Bugbot is set up for automated code reviews on this repo. Configure here.