drop_slot
Remove a PostgreSQL replication slot by exact name to release pinned WAL and force subscriber re-creation.
Instructions
Drop a replication slot by EXACT name (irreversible).
Removes the slot and releases the WAL it pins. Any subscriber relying on it can no longer resume and must be re-created and re-synced. You must pass the exact slot name. Dry-run unless allow_writes=true AND PG_LOGICAL_MCP_ALLOW_WRITES is set.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slot_name": "<slot_name>"
},
"name": "drop_slot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot_name | Yes | ||
| allow_writes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||