test_glob
Determine whether a file path matches a glob pattern using wildcards like *, **, ?, character classes, and brace expansion.
Instructions
Test if a file path matches a glob pattern (supports *, **, ?, character classes, brace expansion)
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>",
"path": "<path>"
},
"name": "test_glob"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path to test | |
| pattern | Yes | Glob pattern (e.g. 'src/**/*.ts') |