format_text
Standardize text by converting case or trimming whitespace. Apply uppercase, lowercase, titlecase, or trim operations to normalize raw strings.
Instructions
Transforms and normalizes string casing and whitespace. Use this tool for text standardization like uppercase, lowercase, titlecase, or trimming. Do not use for generating interpersonal greetings (use 'greet_user' instead). Deterministic in-memory string transformation.
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": "format_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The raw text string to format. | |
| operation | No | The formatting operation: 'uppercase', 'lowercase', 'titlecase', or 'trim'. Defaults to 'trim'. |