MCPFerramentas MCP/Convites de avaliação/move_campaign_recipients

move_campaign_recipients

Writereview-invite:write

Move review-invite recipients to a campaign at a different location — the fix when an import filed contacts under the wrong branch. A recipient's location IS its campaign's location, so this takes a target campaignId; use list_review_campaigns to find campaigns at the location you want. Contacts that have already been messaged cannot be moved (the delivered message belongs to the location it was sent from), and moving pending contacts into a live auto-sending campaign is refused unless you pass allowSend:true, because it would message them immediately. Returns how many moved.

Parâmetros
recipientIdsstring[]obrigatório
Ids of the recipients to move (required).
campaignIdstringobrigatório
The campaign to move them into — this is what sets their location (required).
allowSendbooleanopcional
Set true to accept that a live auto-sending campaign will message these contacts on arrival. Defaults to false, which refuses that case.
Exemplo de solicitação
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "move_campaign_recipients",
    "arguments": {
      "recipientIds": [
        "string"
      ],
      "campaignId": "string"
    }
  }
}
Exemplo de resposta
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

O formato da resposta é ilustrativo — o conteúdo real depende da ferramenta e dos seus dados.