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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| force | No | ||
| database | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||