search_data_file
Search and retrieve specific data entries from files in the OSRS MCP Server's data directory. Input a filename and query term to locate relevant information with pagination support for efficient results management.
Instructions
Search any file in the data directory for matching entries.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
filename | Yes | The filename to search in the data directory (e.g., 'varptypes.txt') | |
page | No | Page number for pagination | |
pageSize | No | Number of results per page | |
query | Yes | The term to search for in the file |
Input Schema (JSON Schema)
{
"additionalProperties": false,
"properties": {
"filename": {
"description": "The filename to search in the data directory (e.g., 'varptypes.txt')",
"type": "string"
},
"page": {
"default": 1,
"description": "Page number for pagination",
"minimum": 1,
"type": "integer"
},
"pageSize": {
"default": 10,
"description": "Number of results per page",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"query": {
"description": "The term to search for in the file",
"type": "string"
}
},
"required": [
"filename",
"query"
],
"type": "object"
}