mask_text
Mask text, keeping only start/end characters visible.
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": {
"text": "<text>"
},
"name": "mask_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Characters to keep at end | |
| text | Yes | Text to mask | |
| start | No | Characters to keep at start | |
| mask_char | No | Masking character | * |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| masked | Yes | Masked text with only start/end characters visible | |
| original_length | Yes | Length of the original text |