clean_normalize_whitespace
Normalize whitespace in text by collapsing multiple spaces, tabs, or newlines into single spaces, ensuring consistent formatting.
Instructions
Collapse multiple whitespace into single spaces.
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_normalize_whitespace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |