clean_whitespace
Trim leading and trailing whitespace, and replace consecutive spaces with a single space.
Instructions
Trim and replace multiple spaces with a single space. (This includes whitespace characters like \ and \ .) For cleaning special characters out of a string for a URL, use Slugify.
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": "clean_whitespace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||