fs_search
Find files matching a glob pattern recursively within a secure directory, excluding matches that resolve via symlinks to outside the allowed root.
Instructions
Find files matching a glob pattern (e.g. '*.py') under path, recursively. Any match that resolves outside FSGUARD_ROOT — e.g. via a symlink — is silently excluded rather than reported.
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": "fs_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | . | |
| pattern | Yes |