finish mock interview
finish_mockScore and save a finished ready-made mock interview. Only the mock card calls it, with the interview's id and the user's picked replies, turn by turn. The score (1 to 5) is worked out on the server and saved to the user's mock interviews, counting as a case walked through when it's on a case; each call saves a new result. Returns the score; an unfinished interview saves nothing.
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": {
"interview": "<interview>",
"picks": "<picks>"
},
"name": "finish_mock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| picks | Yes | For each turn in order, the indexes of the replies the user picked: one, or two when the first was a miss | |
| interview | Yes | The ready-made interview's id, as start_mock_interview gave it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The answer, or what was done, in plain words for the user: the same text as content | |
| undo | No | On a saved write: its undo handle, for undo within 24 hours | |
| widget | No | The card the host draws with it, e.g. "pipeline"; "confirm" means a write waits for the user's Yes and nothing is saved yet |