Capture grammar mistake
capture_grammar_mistakeRecords a grammar mistake from a target-language sentence the user wrote, as a grammar point in their MindDory deck (shown on the Grammar Patterns page at app.minddory.com/grammar). Takes the original text, the correction and an error_type: tense, agreement, word_choice, word_order, article, preposition, spelling, pluralization, conjugation, gender or other. One call records one mistake. lang takes the full BCP-47 variant (en-gb, pt-br) so the mistake is filed under the user's regional variant.
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": {
"user_text": "<user_text>",
"correction": "<correction>"
},
"name": "capture_grammar_mistake"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | ISO target language code. | |
| user_text | Yes | The exact erroneous sentence/phrase the user wrote. | |
| correction | Yes | The corrected sentence/phrase. | |
| error_type | No | One of: tense, agreement, word_choice, word_order, article, preposition, spelling, pluralization, conjugation, gender, other. | |
| explanation | No | Short rationale (1-2 sentences). Optional. |