set_session_db
Set or clear the default database for the current MCP session, overriding the server's default for subsequent queries without explicit database argument.
Instructions
Set or clear the default database for THIS MCP session. Subsequent tool calls without an explicit db argument will use this database. Pass an empty string or null to clear and fall back to the server's global default. Returns the new effective default for this session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db | No | Database name to set as the per-session default. Empty/null clears the override. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |