Skip to content

Tone

Premium · 5 credits

Analyze the tone of text, returning detected tones with confidence scores and suggestions for improvement.

FieldTypeRequiredDescription
textstringYesText to analyze
FieldTypeDescription
primary_tonestringDominant detected tone
tonesarrayAll detected tones with confidence
tones[].tonestringTone name
tones[].confidencenumberConfidence from 0.0 to 1.0
suggestionsarrayImprovement suggestions
Terminal window
curl -X POST https://morso.dev/api/tone \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"text": "Per my last email, the deadline was yesterday. Please advise on next steps immediately."}'
{
"primary_tone": "assertive",
"tones": [
{"tone": "assertive", "confidence": 0.82},
{"tone": "urgent", "confidence": 0.71},
{"tone": "formal", "confidence": 0.65}
],
"suggestions": [
"Consider softening the opening to avoid sounding passive-aggressive",
"Replace 'immediately' with a specific timeframe for a more collaborative tone"
]
}