import_api_dump
Parse WSDUMP logs to build a live Lua API index, diff it against the bundled WSUS index, and list added, removed, changed paths or unexplored subtrees for the next dump.
Instructions
Parse WSDUMP lines from gen/log.txt (or which='log_prev.txt', or an explicit file), build the live
API index and report the diff against the bundled WSUS v258.4018 index (added / removed / changed paths,
unexplored subtrees to dump next). Writes only to the per-user data folder (WS_MCP_DATA_DIR,
default %LOCALAPPDATA%/war-selection-mcp), never to the game folder. Dumps of different subtrees are
merged; a new engine version replaces the old index (backup kept). dry_run=true writes nothing.
A dump without END is refused unless allow_partial=true.
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": "import_api_dump"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| limit | No | ||
| reset | No | ||
| space | No | ||
| which | No | log.txt | |
| dry_run | No | ||
| dump_id | No | ||
| allow_partial | No |