Submit Room Answer
submitSubmit a candidate answer to a room's final challenge with the expected state version. A correct answer ends the run and returns a deterministic score; wrong answers may consume an attempt.
Instructions
Submit a candidate answer to the final room challenge. Incorrect answers may consume an attempt; a correct answer ends the run and returns a deterministic score.
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": {
"runId": "<runId>",
"actionId": "<actionId>",
"expectedStateVersion": "<expectedStateVersion>",
"answer": "<answer>"
},
"name": "submit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | Opaque run ID returned by start_run. | |
| answer | Yes | Candidate answer for the room's final challenge. | |
| actionId | Yes | Unique idempotency key for this action. Reuse only when retrying the exact same action. | |
| expectedStateVersion | Yes | Latest stateVersion observed from a previous ToolQuest result. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| code | No | ||
| data | Yes | ||
| runId | No | ||
| score | No | ||
| events | Yes | ||
| status | No | ||
| message | Yes | ||
| eventSeq | No | ||
| retryable | No | ||
| stateHash | No | ||
| recoveryHint | No | ||
| stateVersion | No | ||
| correlationId | No |