format_text
Change text casing, remove characters, split text, strip HTML, or truncate content with this versatile text formatting tool. Provide format type and input to get formatted output.
Instructions
Change casing, remove characters, split text, remove HTML, or truncate 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": {
"format_type": "<format_type>",
"input_text": "<input_text>",
"output_variable_name": "<output_variable_name>"
},
"name": "format_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format_type | Yes | Select the type of formatting to apply to the text. | text |
| delimiter | No | For use with "Remove Characters", "Replace Characters", and "Split Text by Delimiter" to specify the character to remove or replace, and by "Truncate" to specify the number of characters to truncate to. | |
| input_text | Yes | Enter the text to be formatted, such as 'Hello, World!' or '123 Main St, Anytown'. | |
| output_variable_name | Yes | Provide a variable name to store the formatted text, like 'formatted_text' or 'cleaned_data'. |