MCPHerramientas MCP/Multimedia/list_google_location_media

list_google_location_media

Readmedia:read

List the Google Business Profile photos already STORED for locations: owner-uploaded (kind "owner") and customer-contributed (kind "ugc"). Returns each photo's Google URL, full Google media id, Google category (or null), kind, the location it belongs to, and the stored coverage/freshness of the last Google refresh (null means unknown or never attempted, never "complete"). Stored-only: it never calls Google or starts a sync (use fetch_gbp_media to refresh). Pass locationId for one location, clientId for one client, kind to filter; page with the returned nextCursor.

Parámetros
locationIdstringopcional
Location id (any form from list_locations). Omit to read every location you can access. Accepts the database ID or public loc- ID. IDs must belong to the authenticated agency and permitted client.
clientIdstringopcional
Client id (from list_clients) to scope to. Must own locationId when both are given. Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
kind"owner" | "ugc"opcional
owner = business-uploaded photos, ugc = customer-contributed photos. Omit for both.
limitnumberopcional
Page size, a whole number from 1 to 100. Default 50.
cursorstringopcional
nextCursor from the previous page. Only valid with the same filters.
Solicitud de ejemplo
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_google_location_media",
    "arguments": {
      "locationId": "loc_456",
      "kind": "owner",
      "limit": 25
    }
  }
}
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.