set_database
Switch the active project database to a Disk or PostgreSQL instance, closing the currently open project before connecting to the new database.
Instructions
Switch the project database (closes the open project). db_type is 'Disk' or 'PostgreSQL'.
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": {
"db_name": "<db_name>"
},
"name": "set_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db_name | Yes | ||
| db_type | No | Disk | |
| ip_address | No |