Approve a prepared MCP write request
approve_write_v1Approve a previously prepared write request for any registered write operation, after revalidating its immutable local snapshot. Call it only after you have shown the user the preview and the user has agreed to that exact change in the conversation. The confirmation phrase and confirm_token bind the approval to the previewed payload; they are returned as confirmation_phrase and confirm_token by the prepare_* tool's response and by get_write_request_v1, so they are not a secret the user has to type.
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": {
"profile_id": "<profile_id>",
"profile_pk": "<profile_pk>",
"request_id": "<request_id>",
"confirmation": "<confirmation>",
"confirm_token": "<confirm_token>"
},
"name": "approve_write_v1"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile_id | Yes | Amazon Ads profile id, from list_profiles. | |
| profile_pk | Yes | Sellantica's internal profile primary key, from list_profiles (needed when profile_id is not unique). | |
| request_id | Yes | The write request id returned by the prepare_* tool call (or by get_write_request_v1) that is being approved. | |
| confirmation | Yes | The exact confirmation_phrase string returned by the prepare_* response for this request. | |
| approval_note | No | Optional free-text note (at most 500 characters) recorded with the approval for audit purposes. | |
| confirm_token | Yes | The exact confirm_token (equal to the request's request_hash) returned by the prepare_* response for this request; binds the approval to the exact previewed payload. |