Skip to main content

Module write

Module write 

Source
Expand description

Write/admin MCP tool executors (Phase 9).

Functions§

apply_ddl
Run DDL validated for Admin mode inside a transaction.
create_index_concurrently
CREATE INDEX CONCURRENTLY — must run outside a transaction.
edit_row
Structured insert/update/delete by primary key (parameterized).
execute_sql
Run validated SQL inside an explicit transaction; roll back on error or dry_run.
import_data
Batched INSERT from a JSON rows array.
run_maintenance
VACUUM / ANALYZE / REINDEX — cannot run inside a transaction.
terminate_query
Cancel or terminate a backend by pid.