fs_find
Searches a disk image for files matching a name pattern, caching results for fast repeated access.
Instructions
Find files by name anywhere in a disk image (e.g. name_pattern="webshell" or ".php" or "access.log"). Builds and caches a recursive listing so repeated searches on a large disk are fast. Returns matching paths with their inodes for fs_cat.
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": {
"image": "<image>",
"name_pattern": "<name_pattern>"
},
"name": "fs_find"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | ||
| name_pattern | Yes | ||
| offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |