Skip to main content

Module types

Module types 

Source
Expand description

Request and response types for MCP tool parameters.

Most structs map to the input or output schema of a single MCP tool; ListEntriesResponse is the shared output for every list* tool (listTables, listViews, listTriggers, listFunctions, listProcedures, listMaterializedViews).

Structs§

CreateDatabaseRequest
Request for the createDatabase tool.
DropDatabaseRequest
Request for the dropDatabase tool.
ExplainQueryRequest
Request for the explainQuery tool.
ListDatabasesRequest
Request for the listDatabases tool.
ListDatabasesResponse
Response for the listDatabases tool.
ListEntriesResponse
Response for list-style tools (listTables, listViews, listTriggers, listFunctions, listProcedures, listMaterializedViews).
ListFunctionsRequest
Request for the listFunctions tool.
ListTriggersRequest
Request for the listTriggers tool.
ListViewsRequest
Request for the listViews tool.
MessageResponse
Response for tools with no structured return data.
QueryRequest
Request for the writeQuery tool.
QueryResponse
Response for the writeQuery and explainQuery tools.
ReadQueryRequest
Request for the readQuery tool.
ReadQueryResponse
Response for the readQuery tool.

Enums§

ListEntries
Two-shape listing payload: bare names in brief mode, name-keyed metadata in detailed mode.