glob
Search an SSH target for files matching a wildcard path pattern. Returns up to 100 file paths in modification-time order, skipping .git and node_modules.
Instructions
Find files whose paths match a glob pattern. Returns matching file paths — never directories — in modification-time order, up to 100 paths. REMOTE: the search runs on selected target (ssh target.ssh); .git/node_modules directories are skipped.
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>",
"target": "<target>"
},
"name": "glob"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory to search in, on the remote host selected target. Defaults to the target root; a relative path resolves against it. | |
| target | Yes | Exact target name from remote_ssh_targets list. Always select the intended host explicitly. | |
| pattern | Yes | Glob pattern to match file paths against (e.g. "**/*.ts"). A pattern with no "/" matches the basename at any depth; include a separator to anchor the depth. |