Skip to main content

Module tools

Module tools 

Source
Expand description

Shared tool implementation functions.

Extracts the common logging, validation, and serialization logic from per-backend MCP tool handlers into reusable functions.

Functionsยง

create_database
Executes a create_database tool call.
get_table_schema
Executes a get_table_schema tool call.
list_databases
Executes a list_databases tool call.
list_tables
Executes a list_tables tool call.
read_query
Executes a read_query tool call with read-only validation.
resolve_database
Resolves an empty database name to None.
write_query
Executes a write_query tool call.