MCPOutils MCP/Invitations à laisser un avis/create_invite_template

create_invite_template

Writereview-invite:write

Create a reusable review-invite message template. `content` is the rich-text JSON shape the campaign builder's editor produces (pass the same shape as an existing template's `content` if adapting one). Optionally assign it to specific locations so it shows as a suggested template there. Returns the created template.

Paramètres
namestringobligatoire
The template's display name (required).
descriptionstringfacultatif
A short description of when to use this template.
contentobjectfacultatif
The template content, as the builder's rich-text JSON shape.
assignedLocationIdsstring[]facultatif
Location ids this template is suggested for. Omit to make it available agency-wide.
Exemple de requête
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "create_invite_template",
    "arguments": {
      "name": "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.