Answer Task Request
alterlab_task_answerReply to a request a task is waiting on, using the user's own words. For a question pass answer; for an approval pass decision approve or deny. An approval covers only the exact previewed batch, so retry it unchanged with alterlab_task_act. Only a question can be answered by this agent connection: a write approval must come from the user in their AlterLab dashboard or the AlterLab Connect extension, which approves through the user's own signed-in session (this call returns 403 approver_required otherwise). Find request ids in alterlab_task_status or alterlab_hands_pending.
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": {
"task_id": "<task_id>",
"request_id": "<request_id>"
},
"name": "alterlab_task_answer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| answer | No | For questions | |
| task_id | Yes | Task the request belongs to | |
| decision | No | For approval requests | |
| request_id | Yes | Id of the pending request |