trim
Trim whitespace from text.
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": "trim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to trim |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trimmed | Yes | ||
| original | Yes | ||
| trimmed_left | Yes | ||
| trimmed_right | Yes |