Review Task from the Card
review_taskCalled by the Weft "My work" card when the user presses Accept or Send back on work waiting for their review. Not for the model: to relay a verdict the user gave in conversation, use record_decision. Records the verdict as made from the card (via 'app'). A call without the card's token counts no more than a relayed verdict: work flagged for the user's own eyes keeps waiting until they accept it in the Weft app.
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": {
"taskId": "<taskId>",
"decision": "<decision>"
},
"name": "review_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Why it goes back, in the user's words — required for rework | |
| taskId | Yes | The task waiting for review | |
| decision | Yes | 'accepted' the work stands; 'rework' send it back | |
| cardToken | No | The card's token from get_my_work's result _meta |