Submit review
submit_reviewUse this after the user answers the card just asked in a study session: records how well they knew it, which sets when the card comes back, and returns the next card. Grade STRICTLY against the card's back: facts, numbers, doses, and units must match precisely. An imprecise answer is 1 (Again), never 'close enough'; only phrasing may differ. Part of an answer is a miss, so '60' for '60 to 100 bpm' is 1. 1=Again (wrong, blank, or anything the card asks for left out), 2=Hard (the whole answer, but slowly or unsurely), 3=Good (the whole answer), 4=Easy (the whole answer at once). 2, 3 and 4 all record that the user knew it. State the exact answer on a miss, then immediately ask next_card's front. A null next_card ends the session. Wrap up briefly.
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": {
"session_id": "<session_id>",
"card_id": "<card_id>",
"rating": "<rating>"
},
"name": "submit_review"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rating | Yes | 1=Again 2=Hard 3=Good 4=Easy | |
| card_id | Yes | The card just asked: the card_id of the front the user answered. | |
| session_id | Yes | The session_id start_study_session returned. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Present only when the queue is empty: why, and what to do next. | |
| recorded | Yes | ||
| next_card | Yes | Next card to ask immediately, or null when the session is finished. | |
| remaining | Yes | Cards left in the queue. |