read_mod_config
Safely read .toml, .json, or .properties config files inside config/ using line-range pagination to inspect large mod configs without loading whole files.
Instructions
Safely read a .toml/.json/.properties config inside config/ (15KB line-range pagination).
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": {
"instance_path": "<instance_path>",
"config_filename": "<config_filename>"
},
"name": "read_mod_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_line | No | ||
| start_line | No | ||
| instance_path | Yes | ||
| config_filename | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| format | Yes | ||
| content | Yes | ||
| truncated | Yes | ||
| total_lines | Yes | ||
| next_start_line | No | ||
| returned_end_line | Yes | ||
| returned_start_line | Yes |