Repository navigation
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 56 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
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
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 example imports and a tools table; no runtime or library code changes.
Overview
Updates live
docs/edgeconcept pages (en, ko, pt-BR, ar) so copy-paste examples match whatcrewai-toolsactually exports.CodeInterpreterToolis dropped from the "Combining Capabilities" and "Skills + Tools" Python samples (imports andtools=[...]), and its row is removed from the available-tools table inconcepts/tools.mdx. That aligns those pages with existing deprecation/removal notes elsewhere in the same docs.WikipediaToolsis removed from the "add tools to an agent" example inconcepts/agents.mdx, leavingSerperDevToolas the sole illustrated tool.Versioned doc snapshots and the dedicated deprecated
codeinterpretertool.mdxpage are unchanged.Reviewed by Cursor Bugbot for commit f896dc1. Bugbot is set up for automated code reviews on this repo. Configure here.