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).

当前语言暂无代码示例

请求体

FieldTypeReqDefaultDescription
bindingIdstringY
envelopeobjectYRejection envelope forwarded to daemon
taskIdstringNOptional — calls rejectTask() (best-effort)

响应示例

{
  "ok": true,
  "data": {
    "commandId": "cmd-uuid"
  }
}

Try it out

Sign in to use your API key
Request Body
Response
Click Execute to test