get_schema_info
Retrieve read-only table, column, and procedure metadata from the confirmed target database to explore schema before writing queries.
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 |