Skip to main content

Module types

Module types 

Source
Expand description

PostgreSQL-specific MCP tool request types.

Shared listTriggers types (ListTriggersRequest, ListTriggersResponse) and the shared brief/detailed payload (ListEntries, ListTablesResponse) live in the dbmcp-server crate; they are re-exported here so call sites can keep importing them from crate::types.

Structs§

DropTableRequest
Request for the dropTable tool.
ListFunctionsRequest
Request for the Postgres listFunctions tool — extends the shared shape with search and detailed.
ListFunctionsResponse
Response for the listFunctions tool.
ListMaterializedViewsRequest
Request for the Postgres listMaterializedViews tool — extends the shared shape with search and detailed.
ListMaterializedViewsResponse
Response for the listMaterializedViews tool.
ListProceduresRequest
Request for the Postgres listProcedures tool — extends the shared shape with search and detailed.
ListProceduresResponse
Response for the listProcedures tool.
ListTablesRequest
Request for the Postgres listTables tool — extends the shared shape with search and detailed.
ListTablesResponse
Response for the listTables tool.
ListTriggersRequest
Request for the listTriggers tool.
ListTriggersResponse
Response for the listTriggers tool.
ListViewsRequest
Request for the Postgres listViews tool — extends the shared shape with search and detailed.
ListViewsResponse
Response for the listViews tool.

Enums§

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