rules_query
Query Civilization VI game rules with read-only SQL. Join localized text to get English names for techs, civics, units, and districts.
Instructions
Run a read-only SELECT against the gameplay database. The localization DB is attached as loc:
JOIN loc.LocalizedText l ON l.Tag = t.Name AND l.Language = 'en_US' to get English names.
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": {
"sql": "<sql>"
},
"name": "rules_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| limit | No |