MCPFerramentas MCP/Ideias de publicação/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
locationIdstringobrigatório
The location's id (from list_locations) this idea belongs to.
titlestringobrigatório
Short idea title.
contentstringopcional
Post caption / body.
externalIdstringobrigatório
Stable id from the agent — the idempotency key.
origin"channel" | "routine" | "os_button"obrigatório
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.
Exemplo de solicitação
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "create_post_idea",
    "arguments": {
      "locationId": "string",
      "title": "string",
      "externalId": "string",
      "origin": "channel"
    }
  }
}
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.