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.
当前语言暂无代码示例
请求体
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| bindingId | string | Y | — | |
| envelope | object | Y | — | Approval envelope forwarded to daemon |
| taskId | string | N | — | Optional — also calls approveTask() (best-effort) |
响应示例
{
"ok": true,
"data": {
"commandId": "cmd-uuid"
}
}