set_mysql_connection
Set a workbook datasource to connect to a local MySQL server by specifying server, database, username, table, and optional port.
Instructions
Configure the workbook datasource to use a local MySQL connection.
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": {
"server": "<server>",
"dbname": "<dbname>",
"username": "<username>",
"table_name": "<table_name>"
},
"name": "set_mysql_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | 3306 | |
| dbname | Yes | ||
| server | Yes | ||
| username | Yes | ||
| table_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |