fs_glob
Match file paths against a glob pattern. Fast metadata query — no file contents are read, no scan.
Supported syntax: * (not across /), ** (across /), ? (one char), {a,b,c} (brace expansion).
Example:
// All TypeScript files under src/api:
{ "project_id": "my-saas", "pattern": "/src/api/**/*.ts" }
// JS or TS top-level files:
{ "project_id": "my-saas", "pattern": "/*.{js,ts}" }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": {
"project_id": "<project_id>",
"pattern": "<pattern>"
},
"name": "fs_glob"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max matches to return (default 500, cap 5000). | |
| pattern | Yes | Glob pattern. Leading slash is added if missing. | |
| project_id | Yes | Project ID (UUID), subdomain, or slug — resolved server-side, no UUID lookup needed. 'default' also works when the account has exactly one project; multi-project accounts must name one (the error lists them). |