From b97fc836568f9219d206f4b5f244becfdbf5ea48 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 12 Feb 2026 04:47:03 +0000 Subject: [PATCH] chore: update tool specifications --- lib/crewai-tools/tool.specs.json | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/lib/crewai-tools/tool.specs.json b/lib/crewai-tools/tool.specs.json index ff4029ca8..ae6c227c4 100644 --- a/lib/crewai-tools/tool.specs.json +++ b/lib/crewai-tools/tool.specs.json @@ -8402,8 +8402,15 @@ "type": "object" } }, - "description": "Tool for searching file contents on disk using regex patterns.\n\nRecursively searches files in a directory for lines matching a regex pattern.\nSupports glob filtering, context lines, and multiple output modes.\n\nExample:\n >>> tool = GrepTool()\n >>> result = tool.run(pattern=\"def.*main\", path=\"/path/to/project\")\n >>> result = tool.run(\n ... pattern=\"TODO\",\n ... path=\"/path/to/project\",\n ... glob_pattern=\"*.py\",\n ... context_lines=2,\n ... )", - "properties": {}, + "description": "Tool for searching file contents on disk using regex patterns.\n\nRecursively searches files in a directory for lines matching a regex pattern.\nSupports glob filtering, context lines, and multiple output modes.\n\nExample:\n >>> tool = GrepTool()\n >>> result = tool.run(pattern=\"def.*main\", path=\"src\")\n >>> result = tool.run(\n ... pattern=\"TODO\",\n ... glob_pattern=\"*.py\",\n ... context_lines=2,\n ... )\n\n To search any path on the filesystem (opt-in):\n >>> tool = GrepTool(allow_unrestricted_paths=True)\n >>> result = tool.run(pattern=\"error\", path=\"/var/log/app\")", + "properties": { + "allow_unrestricted_paths": { + "default": false, + "description": "When False (default), searches are restricted to the current working directory. Set to True to allow searching any path on the filesystem.", + "title": "Allow Unrestricted Paths", + "type": "boolean" + } + }, "title": "GrepTool", "type": "object" }, @@ -8434,7 +8441,7 @@ } ], "default": null, - "description": "Glob pattern to filter files (e.g. '*.py', '*.{ts,tsx}')", + "description": "Glob pattern to filter files (e.g. '*.py'). Supports brace expansion (e.g. '*.{ts,tsx}').", "title": "Glob Pattern" }, "include_line_numbers": {