Draft a reply with AI
message_draft_ai_replyAsk a connected AI provider to draft a reply for a thread, given a prompt. Returns the draft only and sends nothing. Show it to the user; they can send it from the web app, or approve it for message_send, which delivers immediately and cannot be recalled — so only on an explicit yes for that exact text. This is a one-off draft from a prompt. A configured agent that replies on its own is agent_upsert plus campaign_update; to see how such an agent would answer, agent_query. Requires an AI provider connected in the web app under Settings - Integrations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | What the reply should do, e.g. "propose three times next week for a 20-min call". | |
| provider | Yes | Which connected provider to use. Providers are connected in the web app. | |
| conversationId | Yes | Conversation id, from `conversation_list`. |