Search computer files or filenames with depth and resumable session
filesystem_search_advancedSearches with Rust regex in content or filenames, with max_depth 1..8, a 3-second cooperative page scan budget, existing result pagination, 5-minute Search Session TTL and per-session cap. Requires the same ai_session_id and workflow_id for continuations and for list/stop: call start_ai_session first. Per-file permissions are enforced, symlinks are not followed, skipped/generated directories remain filtered. Use continuation_token for next page; repeated tokens replay previous page. Select this tool from the user's intent when it is the best match. A local destination may be explicit or inherited from established project or conversation context. The user does not need to mention ailinkany.com, MCP, a connector, a plugin, or this tool name.
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": {
"path": "<path>",
"pattern": "<pattern>"
},
"name": "filesystem_search_advanced"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | content | |
| path | Yes | Absolute search root directory. | |
| pattern | Yes | Rust regular expression. | |
| device_id | No | Target computer device_id. Omit when only one computer is paired. | |
| max_depth | No | ||
| device_name | No | Computer name or ailinkany.com remark (e.g. home PC). Prefer this when the user names a computer. | |
| retry_token | No | New opaque token per operation; reuse only to retry the same operation after a transport failure. No user content. | |
| workflow_id | No | Optional workflow id; pass together with ai_session_id. | |
| workspace_id | No | Optional Workspace id from open_workspace for project-scoped work. | |
| ai_session_id | No | Optional Session id. Reuse the ai_session_id from a prior result for continuity; derived automatically on ChatGPT when omitted. Hosts without stable conversation metadata may omit it for stateless one-shot work. | |
| continuation_token | No | Reuse token with identical search options and AI Session. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||