Beitrag prüfen
prepare_business_profile_draftCreate a new approval request for an existing authored draft, not a draft edit, provider post or approval itself. Copy connectionId/postId and exact previewHash from get_business_profile_draft as expectedPreviewHash; requestKey is one UUID for this unchanged preparation. After explicit user instruction prepare a new human Maps approval card for one unchanged durable manual Google draft. Read its current previewHash first; send expectedPreviewHash and a fresh requestKey UUID. Identical retries recheck the draft and current rights. A changed draft, revoked rights, changed connection or attempted/ambiguous publication blocks preparation. Old cards are never extended. Returns operationId for show_maps_approval; only the human Freigeben click can publish once. This call does not edit, schedule or publish. POST /api/v1/tenant/write/prepare_business_profile_draft.
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": {
"connectionId": "<connectionId>",
"postId": "<postId>",
"expectedPreviewHash": "<expectedPreviewHash>",
"requestKey": "<requestKey>"
},
"name": "prepare_business_profile_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postId | Yes | Durable manual draft ID returned by list_business_profile_drafts for the same connection; not a Maps operationId or live provider post ID. | |
| requestKey | Yes | Fresh UUID for this exact draft-to-approval-card preparation; preserve the same inputs on identical retries. It is not permission to replay a publication. | |
| connectionId | Yes | Existing Google Business Profile connectionId returned by get_maps_setup; keep it with this draft’s postId. | |
| expectedPreviewHash | Yes | Exact current previewHash from get_business_profile_draft for this unchanged durable draft. A changed preview requires reread and renewed user intent. |