list_tables
Retrieves all tables and views within a specified database schema, including their type and approximate row count for quick schema overview.
Instructions
List all tables in a schema with their types (BASE TABLE or VIEW) and approximate row counts.
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": "list_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | Schema name (e.g., 'public' for PostgreSQL) | public |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |