MCPOutils MCP/Publications/duplicate_post

duplicate_post

Writeposts:write

Copy a post through the ordinary creation and content-check pipeline. Optional scheduledFor is an ISO timestamp; omitted date or draft:true saves a draft. Series variants cannot be duplicated this way. Requires Social revamp and an active agency user with Social and owning-client access. Never authorizes bypassing content checks.

Paramètres
postIdstringobligatoire
Accepts the database ID or public post- ID. IDs must belong to the authenticated agency and permitted client.
scheduledForfacultatif
draftbooleanfacultatif
Exemple de requête
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "duplicate_post",
    "arguments": {
      "postId": "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.