get_tables
List tables and columns (MySQL) or collections and fields (MongoDB) in a specific schema. Provide the database ID and schema name to receive a map of object names to their column/field lists.
Instructions
List tables->columns (MySQL) or collections->fields (MongoDB) in one schema. Returns a map of object name to column/field list.
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": {
"dbId": "<dbId>",
"schemaName": "<schemaName>"
},
"name": "get_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dbId | Yes | Database server id from list_databases | |
| schemaName | Yes | Schema name from get_schemas |