Use Database
use_databaseSwitch the active MySQL database at runtime by validating the database exists, updating the connection pool context, and persisting the new configuration.
Instructions
Switch the active MySQL database at runtime. Validates that the database exists, switches connection pool context, and updates persistent configuration.
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": {
"database_name": "<database_name>"
},
"name": "use_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||