Set Session Db
set_session_dbAssign or clear the active database for this session, so subsequent queries use it without specifying a database name. Pass null or leave empty to revert to the server's global default, receiving confirmation of the new session default.
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 |