MCPOutils MCP/Publications/list_posts
list_posts
Readposts:read
List posts for a location with per-platform state and aggregate stats (agency-scoped).
Paramètres
locationIdstringobligatoire
The location's id (from list_locations).
platform"google" | "facebook" | "instagram" | "x" | "linkedin" | "pinterest" | "mastodon" | "bluesky" | "threads" | "tiktok"facultatif
Filter by platform.
type"announcement" | "event" | "offer"facultatif
Filter by post type.
status"draft" | "scheduled" | "error" | "active" | "incomplete"facultatif
Filter by status.
fromstringfacultatif
Created from (ISO).
tostringfacultatif
Created to (ISO).
searchstringfacultatif
Name contains (case-insensitive).
limitnumberfacultatif
Max rows to return (1–200, default 50).
Exemple de requête
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_posts",
"arguments": {
"locationId": "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.