Get Database Schema
mysql_schemaRetrieve the schema of a WordPress database. Lists all tables, or shows column details for a specific table.
Instructions
Get the schema of the WordPress database. Without a table name, lists all tables. With a table name, shows column details.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mysql_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site name, ID, or domain. Uses env var if not specified. | |
| table | No | Table name to inspect (e.g., "wp_options"). Omit to list all tables. |