Update a local post
update_local_postUpdate an existing local post on Google Business Profile by specifying the fields to change (summary, call-to-action, event, offer, or media). Only included fields are updated, respecting the 10 edits per minute limit.
Instructions
Updates fields of an existing local post (PATCH with a required updateMask — only masked fields change, e.g. updateMask "summary" with post {"summary": "New text"}). LocalPost fields: languageCode; summary (the post text); topicType (STANDARD | EVENT | OFFER | ALERT); callToAction {actionType: BOOK | ORDER | SHOP | LEARN_MORE | SIGN_UP | CALL, url}; event {title, schedule{startDate{year,month,day}, startTime{hours,minutes}, endDate, endTime}} — required for EVENT and OFFER; offer {couponCode, redeemOnlineUrl, termsConditions}; media [{mediaFormat: "PHOTO", sourceUrl}]. ALERT posts are restricted to Google-initiated campaigns and are typically rejected. Returns the updated post. Counts against the 10 edits/min per-profile cap. Local posts live only on the legacy v4 API (mybusiness.googleapis.com) — they were never migrated to v1.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"accountId": "<accountId>",
"locationId": "<locationId>",
"postId": "<postId>",
"updateMask": "<updateMask>",
"post": "<post>"
},
"name": "update_local_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post | Yes | Partial LocalPost with the new field values. | |
| postId | Yes | Local post id (last segment of the post's `name`). | |
| accountId | Yes | Account id — bare "123" or "accounts/123". | |
| locationId | Yes | Location id — bare "456", "locations/456" or "accounts/1/locations/456". | |
| updateMask | Yes | Comma-separated FieldMask of post fields to overwrite, e.g. "summary,callToAction". |