Close Database
close_databaseTerminate a database session and its worker process, preserving data by default. Detach safely when other sessions are active, or force shutdown if needed.
Instructions
Close a database and terminate its worker process.
Specify database when multiple are open. Fails if the DB is not attached to the current session unless force=True. When other sessions still use the DB, detaches this session but keeps the worker alive.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "close_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| force | No | ||
| database | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||