tone-rewriter — Tone Rewriting Service for AI Agents
Rewrite any text in 10 different tones while preserving the original meaning. Pay $0.01 USDC per request via x402.
Prerequisite
npm install -g awal@2.0.3
awal auth login
Usage
npx awal@2.0.3 x402 pay https://anicca-proxy-production.up.railway.app/api/x402/tone-rewriter \
-X POST \
-d '{"text":"Hey fix this ASAP","target_tone":"professional"}'
Input Schema
| Field |
Type |
Required |
Description |
| text |
string |
✅ |
Text to rewrite (max 2000 chars) |
| target_tone |
string |
✅ |
One of: professional, casual, friendly, formal, empathetic, persuasive, academic, simple, witty, urgent |
| language |
string |
❌ |
en, ja, or auto (default: auto) |
| preserve_length |
boolean |
❌ |
Keep output within ±20% of input length (default: false) |
Output Schema
{
"rewrite_id": "rw_a1b2c3",
"original_text": "Hey fix this ASAP",
"rewritten_text": "Could you please address this issue at your earliest convenience?",
"target_tone": "professional",
"detected_original_tone": "urgent",
"language": "en",
"confidence": 0.95,
"safe_t_flag": false
}
Available Tones
| Tone |
Description |
| professional |
Formal business language, clear and authoritative |
| casual |
Relaxed, conversational, everyday language |
| friendly |
Warm, approachable, positive energy |
| formal |
Structured, polished, official documents |
| empathetic |
Understanding, compassionate, emotionally aware |
| persuasive |
Compelling, action-oriented, motivating |
| academic |
Scholarly, precise, evidence-based vocabulary |
| simple |
Plain language, short sentences, easy to understand |
| witty |
Clever, humorous undertone, engaging |
| urgent |
Time-sensitive, direct, action-demanding |
Pricing
- $0.01 USDC per request (Base network, x402 protocol)
- Endpoint:
https://anicca-proxy-production.up.railway.app/api/x402/tone-rewriter
Pairs well with
- emotion-detector: Detect emotion → choose appropriate tone → rewrite
- buddhist-counsel: Get guidance → rewrite in empathetic tone for the user
1---
2name: tone-rewriter
3description: "Rewrite text in any of 10 tones (professional, casual, friendly, formal, empathetic, persuasive, academic, simple, witty, urgent) while preserving meaning. x402 pay-per-use: $0.01 USDC. Use when: tone adjustment, rewrite text, change tone, professional rewrite, casual rewrite, make friendly, formalize text."
4version: "1.0.0"
5author: "Daisuke134"
6metadata:
7 source: https://skillmd.com/skills/modbender/tone-rewriter
8 openclaw:
9 emoji: "🎭"
10 os: ["darwin", "linux"]
11---
12
13# tone-rewriter — Tone Rewriting Service for AI Agents
14
15Rewrite any text in 10 different tones while preserving the original meaning. Pay $0.01 USDC per request via x402.
16
17## Prerequisite
18
19```bash
20npm install -g awal@2.0.3
21awal auth login
22```
23
24## Usage
25
26```bash
27npx awal@2.0.3 x402 pay https://anicca-proxy-production.up.railway.app/api/x402/tone-rewriter \
28 -X POST \
29 -d '{"text":"Hey fix this ASAP","target_tone":"professional"}'
30```
31
32## Input Schema
33
34| Field | Type | Required | Description |
35|-------|------|----------|-------------|
36| text | string | ✅ | Text to rewrite (max 2000 chars) |
37| target_tone | string | ✅ | One of: professional, casual, friendly, formal, empathetic, persuasive, academic, simple, witty, urgent |
38| language | string | ❌ | en, ja, or auto (default: auto) |
39| preserve_length | boolean | ❌ | Keep output within ±20% of input length (default: false) |
40
41## Output Schema
42
43```json
44{
45 "rewrite_id": "rw_a1b2c3",
46 "original_text": "Hey fix this ASAP",
47 "rewritten_text": "Could you please address this issue at your earliest convenience?",
48 "target_tone": "professional",
49 "detected_original_tone": "urgent",
50 "language": "en",
51 "confidence": 0.95,
52 "safe_t_flag": false
53}
54```
55
56## Available Tones
57
58| Tone | Description |
59|------|-------------|
60| professional | Formal business language, clear and authoritative |
61| casual | Relaxed, conversational, everyday language |
62| friendly | Warm, approachable, positive energy |
63| formal | Structured, polished, official documents |
64| empathetic | Understanding, compassionate, emotionally aware |
65| persuasive | Compelling, action-oriented, motivating |
66| academic | Scholarly, precise, evidence-based vocabulary |
67| simple | Plain language, short sentences, easy to understand |
68| witty | Clever, humorous undertone, engaging |
69| urgent | Time-sensitive, direct, action-demanding |
70
71## Pricing
72
73- $0.01 USDC per request (Base network, x402 protocol)
74- Endpoint: `https://anicca-proxy-production.up.railway.app/api/x402/tone-rewriter`
75
76## Pairs well with
77
78- **emotion-detector**: Detect emotion → choose appropriate tone → rewrite
79- **buddhist-counsel**: Get guidance → rewrite in empathetic tone for the user