Request to edit a post
request_update_postAsk the user to approve changes to an existing post (published, scheduled, draft or pending review). Send the full new content. For posts that aren't live yet you can also change which connected social media accounts it is shared to (social_platforms; see list_social_accounts; [] = Google only, omit = keep the current choice). Live posts can't change their social sharing. Returns an approval link; GBPly's post policy check still applies.
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": {
"post_id": "<post_id>",
"content": "<content>"
},
"name": "request_update_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| cta_url | No | Required for every button type except CALL. | |
| post_id | Yes | ||
| preview | No | true = dry run: nothing is created, run, charged or sent to Google. Returns what would change, the credit cost and whether it would run straight away under Always allow. Use when the user wants to check first. | |
| cta_type | No | ||
| image_url | No | Public JPEG/PNG under 5MB. | |
| post_type | No | Default STANDARD. | |
| coupon_code | No | ||
| event_title | No | ||
| event_end_date | No | ||
| event_end_time | No | ||
| event_start_date | No | YYYY-MM-DD | |
| event_start_time | No | HH:mm | |
| social_platforms | No | Social networks to also share this post to once Google accepts it. Use list_social_accounts first: only networks connected to this business can be chosen. Costs 1 credit per network each time a post is shared (Google itself is free). Instagram, TikTok and Pinterest need an image. Omit or [] = Google only. | |
| terms_conditions | No | ||
| redeem_online_url | No |