ftp_search
Search remote files by name, extension, or content regex to locate specific code patterns or files across the workspace.
Instructions
Advanced remote file search. Supports finding files by name (wildcards), extension, or content regex (grep-like). Use this to find specific code patterns across the remote workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Remote directory to start the recursive search in. | . |
| limit | No | Maximum matches to return. | |
| offset | No | Skip initial matches for pagination. | |
| pattern | No | File name pattern (e.g. `*.js`, `db_*`). | |
| extension | No | Restrict search to specific file extensions (e.g. `.css`). | |
| contentPattern | No | Regex pattern to search inside file contents. Highly efficient for finding variable usage or specific logic. | |
| findLikelyConfigs | No | Prioritize searching for project manifests and config files (package.json, .env, etc.) |