mask_text
Mask sensitive text such as email, credit card numbers, or phone numbers by replacing middle characters while keeping the start and end visible for readability.
Instructions
Mask parts of sensitive text while keeping ends visible.
Parameters:
text — Text to mask (e.g. email, credit card, phone).
mask_char — Character for masking (default: '*').
visible_start — Characters to leave visible at start (default: 1).
visible_end — Characters to leave visible at end (default: 1).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| mask_char | No | * | |
| visible_start | No | ||
| visible_end | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |