list_tables
Lists all tables and views in a specified database, with optional case-insensitive pattern filtering and a row limit to keep large schemas manageable.
Instructions
List all tables and views in the named database.
Narrow instead of listing everything: pattern keeps only names containing it
(fuzzy, case-insensitive — "order" matches ORDERS, order_items). limit returns
at most that many rows, so a huge database can't flood the answer.
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 |
|---|---|---|---|
| limit | No | ||
| pattern | No | ||
| database | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |