file_search
Search for files on an OpenWrt router by filename pattern, or search within files for specific text content using grep to quickly locate resources.
Instructions
Search for files or content within files on the router.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "file_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | File name pattern to find (uses 'find' command) | |
| path | No | Directory to search in | / |
| content | No | Text content to search for (uses 'grep') |