Answer Typeza test questions
answer_testSend the person's answers for one batch of a Typeza test begun with start_test, using its draft_id and key. answers maps each question code to 1 (statement_1 fits better) or 2 (statement_2 fits better). Returns status next_questions with the next batch or, once every question is answered, the result: status type_found with the Typeza type (name, slug, page, short description) and keep_url, or status choose_type with candidate types when the answers fit more than one equally. Answers are saved with every call, so a test can continue later: send empty answers to get the current batch back. Give the person keep_url: it opens the full result on typeza.ai and lets them save it to an account. For a signed-in person, a first result becomes their Typeza type; a retake keeps the type they have.
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": {
"draft_id": "<draft_id>",
"key": "<key>",
"answers": "<answers>"
},
"name": "answer_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The key start_test returned, passed back unchanged. | |
| answers | Yes | Question code to 1 (statement_1 fits better) or 2 (statement_2 fits better). Send {} to get the current batch back. | |
| draft_id | Yes | The draft_id start_test returned. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |