Search service files
search_service_filesSearch files by name under a directory on a VPS service using a case-insensitive substring or glob pattern, returning up to 500 matches within a 20-level depth.
Instructions
Find entries by name below a directory: a case-insensitive substring or a glob with * ? [ ], one file system, depth 20, at most 500 results and 10 seconds; /proc, /sys, /dev and platform trees are never walked. 10 searches per minute per service; truncated or timedOut mean a partial answer. A slow guest answers 202 with an operation: this tool polls it itself and returns the final answer, or, after waitSeconds, the operationId to continue with get_service_file_operation (never repeat the call). Requires files:read on the API key as an explicit grant (a key whose permission list was left empty does not hold it), read or full access; the hosted connector needs vm:files:read. Availability: Firecracker servers need the updated guest agent (filesUnavailable reason agent_update_required; node_update_required while the host node is not updated yet) and Cloud VPS (KVM) servers need the VDS file-manager switch (reason feature_disabled while it is off); relay any unavailable reason verbatim and never work around it. A server whose 2FA lock is on answers 423.
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": {
"orderNo": "<orderNo>",
"name": "<name>"
},
"name": "search_service_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | No | Absolute directory to search below; default / | |
| limit | No | ||
| orderNo | Yes | Tenant-owned service order number, e.g. VP12345 | |
| waitSeconds | No | How long this tool waits for a slow guest's operation before returning its operationId (default 30, recursive delete and extract 60) |