process_text
Process text with operations like word counting, case conversion, reversal, and data extraction to analyze or transform textual content.
Instructions
Handle text with various operations.
Args:
text: text to handle
operation: action to perform (word_count, char_count, reverse, uppercase, lowercase, title_case, extract_emails, extract_urls, summarize_stats)
options: additional options for specific operations
Returns:
Operation result
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>",
"operation": "<operation>"
},
"name": "process_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| operation | Yes | ||
| options | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||