cg_installed
Upgrade or uninstall widgets already installed in the current project. Provide the widget directory path to target the installed copy, optionally specify a version for upgrade.
Instructions
Mutate widgets already installed in the current project. Use this for installed copies only; use cg_registry install for adding a new widget. Actions: upgrade requires widget_dir and optionally version; uninstall requires widget_dir. Pass the widget directory path (e.g. cg/backend-retry-python).
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": {
"action": "<action>"
},
"name": "cg_installed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Installed-widget action to perform. | |
| version | No | Target version for upgrade. | |
| widget_dir | No | The local widget directory path (e.g. cg/backend-retry-python). |