sql_list_tables
List all user tables in the active SQL Server database, with optional view inclusion and row counts, to quickly identify available tables for schema inspection and data troubleshooting.
Instructions
List all user tables (and optionally views) in the active database, with 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": "sql_list_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | Filter by schema name (e.g. 'dbo'). Default: all schemas. | |
| includeViews | No | Also list views (default: false) |