mnemon_create_branch
Fork a copy-on-write PostgreSQL database branch at an exact WAL LSN without storage duplication, optionally masking PII for compliance.
Instructions
Fork an instant copy-on-write PostgreSQL database branch in 31ms at an exact WAL LSN without storage duplication.
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": {
"tenant_id": "<tenant_id>",
"new_branch": "<new_branch>"
},
"name": "mnemon_create_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mask_pii | No | Mask sensitive PII columns in child branch for GDPR/HIPAA compliance | |
| tenant_id | Yes | Database tenant/cluster identifier | |
| new_branch | Yes | Name for the new branch (e.g. 'feature-migration') | |
| target_lsn | No | Optional WAL LSN for point-in-time fork | |
| parent_branch | No | Parent branch name (default: 'main') |