Remove a PostgreSQL extension
disable_extensionDrops the extension without CASCADE: if objects depend on it, it stays and get_database shows why in warning. Scope: databases.write.
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": {
"database": "<database>",
"name": "<name>",
"extension": "<extension>"
},
"name": "disable_extension"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The logical database. | |
| database | Yes | Database id, as returned by list_databases or create_database. | |
| extension | Yes | Name of an extension enabled in that logical database (see get_database). |