search_mod_code
Search cached War Selection mod code and drafts with case-insensitive regex to find matches by file and line, with surrounding context lines.
Instructions
Regex search (case-insensitive) across cached mod code and drafts; returns file:line with context lines.
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": {
"regex": "<regex>"
},
"name": "search_mod_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| regex | Yes | ||
| context | No | ||
| latest_only | No | ||
| include_drafts | No |