request_send_approval
Create a merchant-owned Workroom approval request for a customer-facing send. The agent must not call send_message, send_whatsapp_message, send_test_campaign, or send_campaign directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | AI colleague ID that is a participant in the thread | |
| payload | Yes | Exact tool payload to execute if the merchant approves. For send_test_campaign use { campaignId, to }, with an email address or international WhatsApp number matching the campaign channel. | |
| summary | Yes | Human-readable draft/recipient/campaign summary shown above the approval buttons | |
| threadId | Yes | Workroom thread ID where the approval button should appear | |
| actionType | Yes | The customer-facing action to execute only after merchant approval |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Tool result payload — shape varies per tool, see the tool description | |
| summary | Yes | One-line human-readable summary of the action | |
| renderType | Yes | UI rendering hint for the result |