list_tables
MCP tools › Databases
List the tables and views of a connection's current schema, or of another schema from list_schemas. A SQLite view that cannot be read (it names a dropped table or column) has unreadable with the database's message (needs the read-schema permission).
Its results carry text from database: the client is told to treat that as data, never as instructions.
| Capability | database.list_tables |
|---|---|
| Area | Databases |
| Access | reads only |
| Reaches | database, network |
| Rights | ssh, database-permission, trusted-project |
| Dry run | none |
Arguments
| Argument | Type | Description |
|---|---|---|
connectionrequired | string | Connection name from list_connections. |
schema | string | Schema from list_schemas (default: the current schema). |
Call it from a shell
ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.
ferris-idea call ~/my-project list_tables '{"connection":"<string>"}'Input schema as JSON
{ "type": "object", "required": [ "connection" ], "properties": { "connection": { "description": "Connection name from `list_connections`.", "type": "string" }, "schema": { "description": "Schema from `list_schemas` (default: the current schema).", "type": [ "string", "null" ], "default": null } }}