MCPOutils MCP/Publications/get_workspace_posts

get_workspace_posts

Readposts:read

Read a paginated workspace-wide publishing calendar, content series, or local/brand organic analytics. Pass scope=workspace and view=calendar|series|analytics. Includes only accessible active clients in the acting workspace. Stored reads only; never publishes or changes schedules.

Paramètres

Utilisez l’une des formes de saisie suivantes. Les champs obligatoires s’appliquent à chaque forme.

Option 1

clientIdstringobligatoire
locationIdstringfacultatif
tagstringfacultatif

Option 2

scope"workspace"obligatoire
view"calendar" | "analytics" | "series"facultatif
channel"local" | "brand"facultatif
pageintegerfacultatif
perPageintegerfacultatif
fromstringfacultatif
tostringfacultatif
Exemple de requête
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_workspace_posts",
    "arguments": {
      "clientId": "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.