HomeDocsMCPlist_posts
MCP tool · Inspect

list_posts

List posts in the workspace with optional filters.

Calling it

Invoke this tool with a JSON-RPC 2.0 tools/call request against the hosted MCP endpoint at POST https://getsocialclaw.com/mcp. Send your workspace API key as Authorization: Bearer sc_live_your_key. In an MCP client (Claude, Cursor, Claude Code) the client makes this call for you — just ask it to use list_posts.

Arguments

ParameterTypeDescription
runId string optional
status string optional e.g. scheduled, published, action_required, failed, canceled.
account string optional Account handle filter.
provider string optional
campaignId string optional
limit number optional Maximum posts to return. Defaults to 20 and is capped at 50.
offset number optional Offset for paging through results.

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_posts",
    "arguments": {
      "runId": "run_123",
      "status": "..."
    }
  }
}

Response

The server replies with a JSON-RPC result whose content array carries the tool output as a JSON-encoded text block. isError is true when the call failed.

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{ /* JSON-encoded tool result */ }"
      }
    ],
    "isError": false
  }
}