POST

/api/im/remote/approve

Quick-approve tool call

Shortcut for POST /api/im/remote/command with type: "tool_approve". Creates the

command and attempts immediate WS delivery. If taskId is provided, also calls

taskService.approveTask() as a best-effort non-blocking side effect.

当前语言暂无代码示例

请求体

FieldTypeReqDefaultDescription
bindingIdstringY
envelopeobjectYApproval envelope forwarded to daemon
taskIdstringNOptional — also calls approveTask() (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