Find docs for a modding task
hoi4.reference_contextFind HOI4 modding documentation for events, decisions, focuses, GUI, maps, localisation, AI, and more, returning short reference sections you can expand with hoi4.reference_read.
Instructions
Find documentation for the content you are building: events, decisions, ideas, focuses, technology, GUI, maps, localisation or AI. Example: {"surface":"event","question":"fire an event after a delay"}. Returns up to 16 short sections; read more with hoi4.reference_read.
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": {
"surface": "<surface>"
},
"name": "hoi4.reference_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| surface | Yes | ||
| question | No | ||
| workspaceId | No | current |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| data | Yes | ||
| status | Yes | ||
| blockers | No | ||
| artifacts | No | ||
| validation | Yes | ||
| diagnostics | No | ||
| workspaceId | Yes | ||
| changedFiles | No | ||
| filesScanned | No | ||
| proposedFiles | No |