ollie/data/tools/file_glob.meta

22 lines
917 B
Plaintext

{
"description": "Find files by Go filepath pattern, sorted by mtime (newest first).",
"prompt": "## file_glob\n\nFind files by Go filepath pattern, sorted by mtime (newest first).\n\n**Args**: `pattern` (required), optional `search_dir`\n\n- `pattern`: Go filepath matching syntax, such as `*.go` or `**/*.ts`. Shell brace expansion is not supported.\n- `search_dir`: absolute search directory. Defaults to cwd.\n\n```\nfile_glob(pattern=\"*.go\", search_dir=\"<ABSOLUTE_SEARCH_DIR>\")\nfile_glob(pattern=\"**/*.go\")\n```",
"args": {
"type": "object",
"required": [
"pattern"
],
"properties": {
"pattern": {
"type": "string",
"description": "Glob pattern (e.g. \"*.go\", \"**/*.ts\")"
},
"search_dir": {
"type": "string",
"description": "Absolute search directory path (optional, defaults to cwd)"
}
}
},
"scope": "read"
}