MCPOutils MCP/Médias/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.
Paramètres
locationIdstringfacultatif
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.
clientIdstringfacultatif
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"facultatif
owner = business-uploaded photos, ugc = customer-contributed photos. Omit for both.
limitnumberfacultatif
Page size, a whole number from 1 to 100. Default 50.
cursorstringfacultatif
nextCursor from the previous page. Only valid with the same filters.
Exemple de requête
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_google_location_media",
"arguments": {
"locationId": "loc_456",
"kind": "owner",
"limit": 25
}
}
}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.