string_trim
string_trimRemove whitespace from text strings to clean data and improve formatting. Specify trim type for precise control over leading, trailing, or both spaces.
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 | ||
| trim_type | No |