ai_rewrite_batch
Rewrite up to 15 texts with one instruction — Apply one rewrite instruction to up to 15 texts at once (product blurbs, emails, notifications, support macros, ad lines). texts = items separated by | or newlines, or a JSON array (each up to 1,500 chars); instruction = what to change. Optional tone and max_words. Offline checks on every result: numbers and links from the original must survive, word-count change, over-length and unchanged warnings. Price: $0.012 USDC (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": {
"texts": "<texts>",
"instruction": "<instruction>"
},
"name": "ai_rewrite_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| texts | Yes | e.g. Your order shipped. Tracking will be sent later.|We cannot refund after 30 days. | |
| instruction | Yes | e.g. make it friendlier and more helpful |