MCPOutils MCP/Invitations à laisser un avis/update_campaign_recipient
update_campaign_recipient
Writereview-invite:write
Correct a review-invite recipient's details — name, email, phone or contact type. Pass only the fields you're changing. Identify the recipient by id (from find_campaign_recipients or list_campaign_recipients). Editing email or phone on a contact who has ALREADY been messaged is refused: the delivered message and any reply are tied to the address it went to, so changing it would misattribute them. Returns the updated contact.
Paramètres
recipientIdstringobligatoire
The id of the recipient to update (required).
namestringfacultatif
Corrected name.
emailstringfacultatif
Corrected email address.
phonestringfacultatif
Corrected phone number.
contactType"Customer" | "Lead" | "Prospect" | "Contact"facultatif
Contact type.
Exemple de requête
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_campaign_recipient",
"arguments": {
"recipientId": "string"
}
}
}Exemple de réponse
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}La forme de la réponse est indicative — le contenu réel dépend de l'outil et de vos données.