Describe the database
describe_databasePHP + MySQL plans: lists the tables in the site's database (with approximate row counts and sizes), or, when a table is given, its columns, indexes and CREATE TABLE statement.
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": {
"site": "<site>"
},
"name": "describe_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The website's domain, as shown by list_sites (e.g. "example.com" or "name.hostingfor.ai"). | |
| table | No | Optional table name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| table | No | ||
| tables | No | Without `table`: one entry per table (table, engine, approx_rows, size_kb, comment). | |
| columns | No | With `table`: its columns (name, type, nullable, key, default, extra, comment). | |
| indexes | No | Index name -> {unique, columns}. | |
| database | No | ||
| create_table | No |