Send a direct message
send_dmSend an Instagram direct message from a connected Upload-Post profile using a recipient ID, with a preview-first approval step before anything is sent.
Instructions
Send an Instagram DM to a recipient from a connected Upload-Post profile. Use a recipient_id returned by Instagram comments or DM conversation tools. Needs the user's approval: call it first without confirmed to get a preview (nothing is sent), show the user exactly what will go out, and repeat the call with confirmed: true only after they approve.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | Upload-Post profile name that owns the connected Instagram account. | |
| buttons | No | Up to 3 web_url buttons rendered in the DM. Each item is { title, url }. | |
| message | Yes | DM body to send. | |
| platform | Yes | DM platform. Currently only Instagram DMs are supported. | |
| confirmed | No | Set to true only after the user has seen the preview this tool returns without it and approved it. Without it nothing is sent. | |
| recipient_id | Yes | Instagram recipient/commenter ID. Required by the Upload-Post API. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No |