reject_task
Reject a pending human-in-the-loop task to stop the agent workflow and prevent the proposed action from proceeding.
Instructions
Reject a pending HITL task, stopping the agent workflow.
The agent will not proceed with the proposed action.
Args: task_id: The approval task UUID comments: Reason for rejection
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>"
},
"name": "reject_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| comments | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |