investigate_database
Discover tables and schemas in a database, then optionally sample recent rows with bounded reads to understand its structure before querying.
Instructions
Discover tables and schemas in a database, optionally sampling recent rows from each table with bounded reads.
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": {
"db": "<db>"
},
"name": "investigate_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db | Yes | Database name to investigate | |
| maxTables | No | ||
| includeSamples | No | Whether to include recent sample rows | |
| sampleWindowHours | No | Look back this many hours from investigation start. | |
| sampleRowsPerTable | No |