list_tables
Retrieve tables in a database with row count, size, engine, and comment for quick structural analysis.
Instructions
List tables in a database with row count and size.
Args: instance_id: The instance name from register_instance. database: The database name to list tables from.
Returns: JSON array of {table, rows, size_mb, engine, comment}, or error.
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": {
"instance_id": "<instance_id>",
"database": "<database>"
},
"name": "list_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | ||
| instance_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |