MCPOutils MCP/Invitations à laisser un avis/update_invite_template
update_invite_template
Writereview-invite:write
Edit an existing review-invite template. Pass only the fields you want to change. Identify the template by its id (from list_invite_templates). Returns the updated template, or throws if not found.
Paramètres
templateIdstringobligatoire
The id of the template to update (required).
namestringfacultatif
New display name.
descriptionstringfacultatif
New description.
contentobjectfacultatif
New content, as the builder's rich-text JSON shape.
assignedLocationIdsstring[]facultatif
Replaces the assigned location ids.
Exemple de requête
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_invite_template",
"arguments": {
"templateId": "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.