ai_rewrite
Rewrite a text in another tone, keeping its meaning, facts and language: professional (default), casual, friendly, formal, concise, simple, persuasive, confident or empathetic. Up to 5,000 characters. Llama 4 Scout on Workers AI. Costs $0.003 USDC on Base via x402.
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": "ai_rewrite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text, up to 5,000 characters | |
| style | No | Target tone (default professional) |