upload
Update an existing Chrome Web Store item draft by providing a ZIP file. This revises your extension or theme before publishing.
Instructions
Upload a ZIP file to update an existing Chrome Web Store item draft. Note: Creating new items via API is not supported in v2 — use the Developer Dashboard to create new items.
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": {
"zipPath": "<zipPath>"
},
"name": "upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | No | Extension item ID (defaults to CWS_ITEM_ID env var) | |
| zipPath | Yes | Absolute path to the ZIP file to upload | |
| publisherId | No | Publisher ID (defaults to CWS_PUBLISHER_ID env var or 'me') |