POST
/api/im/remote/reject
Quick-reject tool call
Mirror of POST /api/im/remote/approve with type: "tool_reject". If taskId
is provided, also calls taskService.rejectTask() with reason `"Rejected via remote
control"` (best-effort, non-blocking).
当前语言暂无代码示例
请求体
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| bindingId | string | Y | — | |
| envelope | object | Y | — | Rejection envelope forwarded to daemon |
| taskId | string | N | — | Optional — calls rejectTask() (best-effort) |
响应示例
{
"ok": true,
"data": {
"commandId": "cmd-uuid"
}
}