manage_google_business_media
Destructive
Change a Google Business Profile gallery (the photos and videos shown on Maps and Search). action=add (source_url, category): add a photo or video from a public https URL (upload it with upload_media first); COVER and PROFILE are single-slot and replace the existing one. action=delete (media_name from list_google_business_media): permanently remove an item from the public profile. Both use preview then confirm: call without confirm to get a preview and preview_id, show it, then call again with confirm=true and that preview_id.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | add or delete. | |
| confirm | No | Leave out to get a preview and preview_id. Set true only after the user explicitly approved the preview, together with preview_id. | |
| category | No | add: which gallery category to add the media to. | |
| account_id | No | Google Business social account ID from list_accounts. | |
| media_name | No | delete: full media resource name from list_google_business_media (accounts/.../locations/.../media/...). | |
| preview_id | No | The preview_id from the preview call. Required with confirm: true for actions that preview first. | |
| source_url | No | add: public https URL of the photo or video (from upload_media). Photos must be JPG or PNG, 10 KB to 5 MB. | |
| location_id | No | Google Business numeric location id (the location_id/platform_user_id from list_accounts, e.g. "197940849675145390"). NOT the ChIJ... Place ID from list_google_business_reviews view=review_link. Prefer account_id. | |
| media_format | No | add: defaults to PHOTO. Use VIDEO for videos (Google caps profile videos at 30s / 75MB). | |
| workspace_id | No | Filter to a workspace ID from whoami. |