ai_reply_suggestion
Generate AI-suggested replies for social media conversations. Provide a conversation ID and optional instructions for personalized suggestions.
Instructions
Get an AI-generated reply suggestion for a conversation.
The AI reads the full conversation context and suggests an appropriate, personalized reply. Customize with a system prompt.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"conversation_id": "<conversation_id>",
"account_id": "<account_id>"
},
"name": "ai_reply_suggestion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| conversation_id | Yes | Conversation ID to suggest a reply for | |
| account_id | Yes | Social account ID | |
| system_prompt | No | Optional custom instructions for the AI (e.g., "Reply politely in Turkish, offer 10% discount if they complain") | |
| org_id | No | Organization ID (uses YAPARAI_ORG_ID env var if not provided) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||