remote_find
Find files by name on remote machines using fd-find or find, avoiding slow recursive directory listings.
Instructions
在远端按文件名查找(走 fd-find,缺失时回退 find)。比 remote_list 递归快得多。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | 查找起点,默认 SSH_REMOTE_BASE 指定的目录 | |
| type | No | d=只要目录,f=只要文件;不填则不限 | |
| pattern | Yes | 文件名片段或正则,如 "order" 或 "\\.go$" | |
| maxResults | No | 最多返回条数,默认 100 |