Clean text
clean_textMasks credentials and optionally personal details in text locally by replacing each finding with a placeholder and returning its kind and masked form.
Instructions
Runs check_text's check and returns the text with each finding replaced by a placeholder, plus their kinds and masked forms.
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": "clean_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to clean, up to 64 KiB. | |
| include_personal_details | No | Also check personal details like emails. Default false. |