Skip to main content

Module types

Module types 

Source
Expand description

PostgreSQL-specific MCP tool request types.

Shared listTriggers types (UnpinnedListTriggersRequest, PinnedListTriggersRequest, 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§

ListFunctionsResponse
Response for the listFunctions tool.
ListMaterializedViewsResponse
Response for the listMaterializedViews tool.
ListProceduresResponse
Response for the listProcedures tool.
ListTablesResponse
Response for the listTables tool.
ListTriggersResponse
Response for the listTriggers tool.
ListViewsResponse
Response for the listViews tool.
PinnedDropTableRequest
Request for the dropTable tool.
PinnedListFunctionsRequest
Request for the Postgres listFunctions tool — extends the shared shape with search and detailed.
PinnedListMaterializedViewsRequest
Request for the Postgres listMaterializedViews tool — extends the shared shape with search and detailed.
PinnedListProceduresRequest
Request for the Postgres listProcedures tool — extends the shared shape with search and detailed.
PinnedListTablesRequest
Request for the Postgres listTables tool — extends the shared shape with search and detailed.
PinnedListTriggersRequest
Request for the listTriggers tool.
PinnedListViewsRequest
Request for the Postgres listViews tool — extends the shared shape with search and detailed.
UnpinnedDropTableRequest
Request for the dropTable tool.
UnpinnedListFunctionsRequest
Request for the Postgres listFunctions tool — extends the shared shape with search and detailed.
UnpinnedListMaterializedViewsRequest
Request for the Postgres listMaterializedViews tool — extends the shared shape with search and detailed.
UnpinnedListProceduresRequest
Request for the Postgres listProcedures tool — extends the shared shape with search and detailed.
UnpinnedListTablesRequest
Request for the Postgres listTables tool — extends the shared shape with search and detailed.
UnpinnedListTriggersRequest
Request for the listTriggers tool.
UnpinnedListViewsRequest
Request for the Postgres listViews tool — extends the shared shape with search and detailed.

Enums§

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