mysql_get_schema
Retrieve the CREATE TABLE statement for a MySQL table to inspect its schema and column definitions.
Instructions
Get the CREATE TABLE statement for a specific MySQL table
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": {
"table_name": "<table_name>"
},
"name": "mysql_get_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | No | MySQL connection alias (optional, uses default if omitted) | |
| table_name | Yes | The name of the table to get the schema for |