Mark word struggled
mark_struggledSpaced-repetition degrade for a word the user just got wrong: the card comes back sooner. ease_factor drops, interval resets, repetitions reset.
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": {
"word": "<word>"
},
"name": "mark_struggled"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language tag of the word: base ISO with an optional region (en, en-us, pt-br). Scoped on the base, so the variant the session instructions ask you to send always matches. Omit it and the user's own primary learning language is used. | |
| word | Yes | ||
| source | No | ||
| context | No |