Set masking rules
branches.masking.setWhat a sanitized branch (branches.create data: "sanitized") masks. Every sanitized branch already hashes auth emails and phone numbers and removes sign-in metadata, password hashes and IP addresses; add the project's own columns as [schema.]table.column:transform (hash, null, mask or empty_json). Without rules it shows the current ones. Needs an owner or admin token. Scope: branches:write.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "branches.masking.set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | No | The project's rules, replacing its current ones, e.g. ["profiles.full_name:mask"] | |
| project_id | No | Project id. Optional: defaults to the project created or used last in this session, or the only one. | |
| organization_id | No | Organization id. Optional: defaults to the token's organization, or the only one you belong to. |