Explain Rule
explain_ruleThe orthography rules check_orthography applies and the parts of the rulebook that match a query (Slovenski pravopis 2001 for sl, Hrvatski pravopis IHJJ 2013 for hr, Pravopis srpskoga jezika, Matica srpska 2010 for sr): rule, where it stands in the book, a paraphrase, and how reliable the check is. Use it to justify a correction to the user. The rulebooks are paraphrased, not quoted.
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": {
"query": "<query>"
},
"name": "explain_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | sl Slovenian, hr Croatian, sr Serbian | sl |
| query | Yes | A rule id (s_z), a § number (683), a page (25, Croatian), a point (t. 124, Serbian) or a word (vejica, zarez, zapeta, comma) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||