get_schema_info
Retrieves table, column, or procedure metadata from a connected database so you can explore the schema and confirm targets before writing queries. Read-only.
Instructions
Retrieve metadata about tables, columns, or procedures in the currently connected database. Read-only. Use this to explore the schema before writing queries. For "columns": provide the table name in "filter". For "tables"/"procedures": filter is optional (LIKE pattern).
IMPORTANT: Before calling this tool, you MUST confirm which database the user intends to query. If the user has not explicitly stated the target database in their message, ASK them first. Do NOT assume the currently connected database is the intended target.
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": {
"objectType": "<objectType>"
},
"name": "get_schema_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | For columns: table name (required). For tables/procedures: optional LIKE pattern. | |
| objectType | Yes | Type of metadata to retrieve |