string_trim
Trim whitespace from text by removing spaces from the start, end, or both sides.
Instructions
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": "string_trim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to trim | |
| trim_type | No | Type of trimming to perform | both |