Search save keys
eu4_searchSearch EU4 save files with case-insensitive regex to find keys or values anywhere or under a specific path, such as countries.FRA. Use it to locate data without manually scanning the save.
Instructions
Find keys (and optionally values) matching a regex anywhere in the save, optionally under a path (e.g. under='countries.FRA').
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": {
"pattern": "<pattern>"
},
"name": "eu4_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | Save to use: "latest" (newest save on disk), a file name like "autosave.eu4", or a full path. Defaults to the last loaded save, else the newest. | |
| limit | No | ||
| under | No | ||
| values | No | Also match scalar values. | |
| pattern | Yes | Case-insensitive regular expression. |