find_definition
Locate where any named game object (religion, building, scripted effect, event) is defined. Searches vanilla and all loaded mods, with optional category filter to narrow the search.
Instructions
Find where a named game object is defined (a religion, a building, a scripted effect, an event). Searches vanilla and every loaded mod.
category: optional path filter, e.g. 'common/religions' or 'events'.
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": {
"name": "<name>"
},
"name": "find_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| category | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||