Put an earlier extension version back in the stores
roll_back_extensionAsks to put an earlier version of a project's browser extension back in the stores it is live in, for example when the newest version broke something. Without to_version it goes back to the version that was live before the current one; without store it goes back in every store. The stores see it as a new version and may review it again. Nothing happens until you approve it in CodeGene: the answer gives a link to the request, which waits there for 15 minutes. Send the person that link; you cannot approve it. Then call get_approval with the requestId to learn how it ended.
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": {
"project_id": "<project_id>",
"extension_id": "<extension_id>",
"reason": "<reason>"
},
"name": "roll_back_extension"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store | No | Only this store, as get_extension_store_status names it. | |
| reason | Yes | Why, in a sentence: kept in the workspace's activity. | |
| project_id | Yes | The project (list_projects gives ids). | |
| to_version | No | The version to go back to, as get_extension_store_status lists it. | |
| extension_id | Yes | The extension (get_extension_store_status lists them). | |
| workspace_id | No | Workspace id from whoami; omit when there is one. |