chore: update tool specifications

This commit is contained in:
github-actions[bot]
2026-02-12 04:47:03 +00:00
parent 925ed7850e
commit b97fc83656

View File

@@ -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": {