MCPHerramientas MCP/Invitaciones a reseñas/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.

Parámetros
namestringobligatorio
The template's display name (required).
descriptionstringopcional
A short description of when to use this template.
contentobjectopcional
The template content, as the builder's rich-text JSON shape.
assignedLocationIdsstring[]opcional
Location ids this template is suggested for. Omit to make it available agency-wide.
Solicitud de ejemplo
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "create_invite_template",
    "arguments": {
      "name": "string"
    }
  }
}
Respuesta de ejemplo
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

La forma de la respuesta se muestra a modo ilustrativo — el contenido real depende de la herramienta y de tus datos.