Chrome Web Store: upload a new package
cws_uploadUploads a ZIP as the new draft package for an existing Chrome Web Store item, requiring a higher manifest version; nothing changes for users until published.
Instructions
Write. Uploads a ZIP as the new draft package of an existing item. Users see nothing until it is published. The manifest version must be higher than the last uploaded one. Creating a new item is not possible through the API.
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": "cws_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | No | The 32-letter item ID. Defaults to CWS_ITEM_ID. | |
| zipPath | Yes | Absolute path to the extension ZIP. | |
| publisherId | No | Your publisher ID. Defaults to CWS_PUBLISHER_ID. |