MCPHerramientas MCP/Publicaciones/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.
Parámetros
postIdstringobligatorio
Accepts the database ID or public post- ID. IDs must belong to the authenticated agency and permitted client.
scheduledForopcional
draftbooleanopcional
Solicitud de ejemplo
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "duplicate_post",
"arguments": {
"postId": "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.