Enable an extension
extensions.enableEnable an allowlisted Postgres extension on a branch. With name vector and search_table: true it also creates a semantic search table and match function. Scope: database: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": {
"name": "<name>"
},
"name": "extensions.enable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Extension name, e.g. vector | |
| table | No | Search table name (with search_table) | |
| branch | No | Branch (environment) id. Optional: defaults to `production`. | |
| schema | No | Schema to install it in. Optional. | |
| dimensions | No | Embedding dimensions (with search_table) | |
| project_id | No | Project id. Optional: defaults to the project created or used last in this session, or the only one. | |
| search_table | No | With vector: also create the semantic search table | |
| organization_id | No | Organization id. Optional: defaults to the token's organization, or the only one you belong to. |