ai_rewrite
Rewrite any text in your chosen style or tone, such as casual, formal, concise, or friendly.
Instructions
Rewrite text in a different style/tone. [15 sats per call]
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>",
"style": "<style>"
},
"name": "ai_rewrite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| style | Yes | e.g. casual, formal, concise, friendly | |
| preimage | No | (L402 mode) Preimage from paid Lightning invoice — only needed if no API key is set | |
| macaroon | No | (L402 mode) Macaroon from the previous 402 challenge |