upload_location_media
Add (upload) photos or pictures to a location — "add this photo", "put this image on the listing", "use this as the cover or logo" — in a given category. Provide each image as a public https link to the image itself (we fetch and re-host it) or as base64 bytes, max 5 MB each. Google takes JPEG and PNG at least 250 px on the shortest side: a WebP or a GIF is converted on the way in, and anything smaller, or that isn't an image, is refused with the reason. The LOGO category holds a single logo — uploading to LOGO replaces the current logo. All other categories append. In a client-portal session only COVER, LOGO, INTERIOR and EXTERIOR can be added to. An archived location can't be changed. Saved photos are automatically queued to publish to Google. In a chat that shows cards, the photos card (list_location_media) also lets the user add a photo by link themselves. You don't pass an agency — it comes from your credentials.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "upload_location_media",
"arguments": {
"locationId": "string",
"category": "COVER",
"images": [
{}
]
}
}
}{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}Die Antwortform dient nur zur Veranschaulichung — der tatsächliche Inhalt hängt vom Tool und Ihren Daten ab.