list_tables
Lists tables and views in a configured PostgreSQL, MySQL, or SQLite database so AI agents can discover schema before querying.
Instructions
List tables and views in a configured database.
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_id": "<database_id>"
},
"name": "list_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | Schema name (Postgres/MySQL). Ignored for SQLite. | |
| database_id | Yes | Database id from list_databases |