list_tables
Lists all tables in a connected database with row counts and sizes, providing the schema overview needed to generate accurate queries.
Instructions
List all tables in the connected database with row counts and sizes.
The editor AI uses this to understand the database structure before generating queries. Schema is served from cache when available.
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": {
"connection": "<connection>"
},
"name": "list_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection | Yes | Database alias (from connect_database). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |