Record the user's answer about a goal
cortex_answer_goalRecords the user's answer to the questions from cortex_create_goal, keyed by question id. {"*":"skip"} is the answer for a user who says to go ahead with whatever Mitosis thinks best. This is the last round: the reply carries answer_required=false and no further questions, because Mitosis asks about a goal once.
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>",
"answers": "<answers>"
},
"name": "cortex_answer_goal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| answers | Yes | Question id to the chosen option, or the user's own words. {"*":"skip"} takes the first option of each. | |
| draft_id | Yes | From cortex_create_goal. |