Skip to main content

Module types

Module types 

Source
Expand description

Request and response types for MCP tool parameters.

Each struct maps to the JSON input or output schema of one MCP tool.

Structsยง

CreateDatabaseRequest
Request for the createDatabase tool.
DropDatabaseRequest
Request for the dropDatabase tool.
ExplainQueryRequest
Request for the explainQuery tool.
GetTableSchemaRequest
Request for the getTableSchema tool.
ListDatabasesRequest
Request for the listDatabases tool.
ListDatabasesResponse
Response for the listDatabases tool.
ListTablesRequest
Request for the listTables tool.
ListTablesResponse
Response for the listTables 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.
TableSchemaResponse
Response for the getTableSchema tool.