db
Analyze database structure, table usage, and dead tables by scanning a path. Use schema, table_usage, or dead_tables actions to understand database health and optimize queries.
Instructions
Database analysis. Actions: schema|table_usage|dead_tables
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": {
"action": "<action>",
"path": "<path>"
},
"name": "db"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to scan | |
| table | No | For table_usage: filter to specific table | |
| action | Yes | Database analysis action |