Skip to main content

Module types

Module types 

Source
Expand description

PostgreSQL-specific MCP tool request types.

Shared ListTriggersRequest and the shared brief/detailed payload (ListEntries, ListEntriesResponse) 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.
ListEntriesResponse
Response for list-style tools (listTables, listViews, listTriggers, listFunctions, listProcedures, listMaterializedViews).
ListFunctionsRequest
Request for the Postgres listFunctions tool — extends the shared shape with search and detailed.
ListMaterializedViewsRequest
Request for the Postgres listMaterializedViews tool — extends the shared shape with search and detailed.
ListProceduresRequest
Request for the Postgres listProcedures tool — extends the shared shape with search and detailed.
ListTablesRequest
Request for the Postgres listTables tool — extends the shared shape with search and detailed.
ListTriggersRequest
Request for the listTriggers tool.
ListViewsRequest
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.