list_tables
Retrieve the tables and views in a database schema to discover available data structures before writing queries. Specify a database and optional schema to inspect.
Instructions
List SQL tables and views in a schema.
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": {
"database": "<database>"
},
"name": "list_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | ||
| database | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||