Merchant Center: Update Product Input
gmc_update_product_inputChange selected attributes of products in a Google Merchant Center account — the landing-page link, mobile link, title, description, image, price or sale price (with currency), availability, condition, brand, GTIN, MPN, Google product category, product types or custom labels — without resubmitting the rest. Only the attributes passed change. Google accepts this only for products whose data source is an API source (gmc_get_product shows patchable); a product from a file, sheet, shop connection or the Merchant Center interface is refused with an explanation of where to change it. The change is submitted for processing: Google reprocesses the product within minutes, so verify later with gmc_get_product. Needs a STANDARD or ADMIN login. For more than one product pass products (up to 50 rows, each with product_id and the attributes to change) instead of calling this once per product; the result lists each row as submitted or refused. A changed price or availability is live in Shopping ads as soon as Google processes it, so the call is a dry run by default: confirm=false reads each product and reports current → proposed values, changing nothing; show that to the user and call again with confirm=true only after they approve those exact values.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gmc_update_product_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mpn | No | Manufacturer part number. | |
| gtin | No | GTIN(s), 8–14 digits each, replacing the current list. | |
| link | No | Landing-page URL of the product (http/https). | |
| brand | No | Brand. | |
| price | No | Price as a decimal amount, e.g. 19.99; pass currency too. | |
| title | No | Product title. | |
| confirm | No | false (default): dry run — reports the current value and what would change, changes nothing. true: submit the change(s) — set only after the user explicitly confirmed this exact change in this conversation. | |
| currency | No | Three-letter ISO currency of price / sale_price, e.g. EUR. | |
| offer_id | No | The merchant's offer id (SKU), when product_id is not passed. | |
| products | No | Batch form, up to 50 products in this account: use instead of the single-product arguments when changing more than one product. | |
| condition | No | Item condition. | |
| account_id | No | Numeric Merchant Center account id, from gmc_list_accounts. May be left out when the connected login reaches exactly one account. | |
| feed_label | No | Feed label of the product, e.g. FR. | |
| image_link | No | Main image URL. | |
| product_id | No | The product id contentLanguage~feedLabel~offerId, e.g. fr~FR~SKU-123 (the id column of gmc_query's product_view). Or pass the three parts below. | |
| sale_price | No | Sale price as a decimal amount; pass currency too. | |
| data_source | No | Numeric id of the API data source holding the product input. Default: the product's own primary source (must be an API source). | |
| description | No | Product description. | |
| mobile_link | No | Mobile landing-page URL. | |
| availability | No | Stock status. | |
| product_types | No | The merchant's own category paths, replacing the current list. | |
| canonical_link | No | Canonical URL of the landing page. | |
| custom_label_0 | No | Custom label 0 for campaign grouping. | |
| custom_label_1 | No | Custom label 1 for campaign grouping. | |
| custom_label_2 | No | Custom label 2 for campaign grouping. | |
| custom_label_3 | No | Custom label 3 for campaign grouping. | |
| custom_label_4 | No | Custom label 4 for campaign grouping. | |
| content_language | No | Two-letter content language of the product, e.g. fr. | |
| additional_image_links | No | Further image URLs, replacing the current list. | |
| google_product_category | No | Google product category, as id or full path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | Yes | True when confirm was not set: nothing was changed. | |
| failed | No | Batch form: products refused. | |
| changed | No | The attribute arguments applied. | |
| results | No | Batch form: one entry per input row. | |
| updated | No | Batch form: products submitted. | |
| previous | No | Each changed attribute's value on the processed product before the call, as text. | |
| accountId | Yes | Merchant Center account. | |
| productId | No | contentLanguage~feedLabel~offerId. | |
| submitted | No | Each changed attribute's new value as submitted, as text. | |
| processing | Yes | True when the change was submitted (Google processes it asynchronously; verify with gmc_get_product); false on a dry run. | |
| dataSourceId | No | The API data source the input was patched in. |