get_database_metadata
Retrieve database schema, tables, and fields by ID. Writes full JSON results to a specified file for analysis.
Instructions
Get schema, tables, and fields for a specific 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>",
"output_file": "<output_file>"
},
"name": "get_database_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database_id | Yes | The database ID | |
| output_file | Yes | File path where full JSON results will be written |