sage_glob
Find files by pattern, returning newest first, ignoring junk directories, and capping output for concise results.
Instructions
Find files by pattern, newest first, junk directories ignored, capped output. Prefer over recursive directory listings.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pattern": "<pattern>"
},
"name": "sage_glob"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Root directory | . |
| limit | No | Max files returned | |
| pattern | Yes | Pattern, e.g. **/*.py |