connect_db
Establishes a connection to a MySQL database with host, user, password, and database credentials, enabling AI clients to run queries and inspect table schemas.
Instructions
Connect to MySQL database
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": {
"host": "<host>",
"user": "<user>",
"password": "<password>",
"database": "<database>"
},
"name": "connect_db"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Database host | |
| user | Yes | Database user | |
| database | Yes | Database name | |
| password | Yes | Database password |