MCPHerramientas MCP/Ideas de publicaciones/create_post_idea

create_post_idea

Writeideas:write

Create (or idempotently upsert) a post idea generated by the agent for a location. Use the same `externalId` on retries to avoid duplicates. `origin` decides review: channel/routine ideas land pending (inbox review); os_button ideas are immediate drafts.

Parámetros
locationIdstringobligatorio
The location's id (from list_locations) this idea belongs to.
titlestringobligatorio
Short idea title.
contentstringopcional
Post caption / body.
externalIdstringobligatorio
Stable id from the agent — the idempotency key.
origin"channel" | "routine" | "os_button"obligatorio
Where the request came from.
type"announcement" | "offer" | "tip" | "showcase" | "story" | "event"opcional
Idea type.
bucket"idea" | "holiday" | "calendar" | "series"opcional
Bucket. Default "idea".
platformsstring[]opcional
Target platforms, e.g. ["google","facebook"].
imageUrlstringopcional
Pre-generated image URL, if any.
imagePromptstringopcional
Prompt to generate an image later, if any.
seriesIdstringopcional
Series id, if part of a content series.
scheduledDatestringopcional
Suggested date (YYYY-MM-DD).
scheduledTimestringopcional
Suggested time (HH:mm).
generationJobIdstringopcional
Originating brain job/run id, for traceability.
Solicitud de ejemplo
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "create_post_idea",
    "arguments": {
      "locationId": "string",
      "title": "string",
      "externalId": "string",
      "origin": "channel"
    }
  }
}
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.