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 create_database tool.
DropDatabaseRequest
Request for the drop_database tool.
ExplainQueryRequest
Request for the explain_query tool.
GetTableSchemaRequest
Request for the get_table_schema tool.
ListDatabasesResponse
Response for the list_databases tool.
ListTablesRequest
Request for the list_tables tool.
ListTablesResponse
Response for the list_tables tool.
MessageResponse
Response for tools with no structured return data.
QueryRequest
Request for the read_query and write_query tools.
QueryResponse
Response for the read_query, write_query, and explain_query tools.
TableSchemaResponse
Response for the get_table_schema tool.