Emotion detector
Detect the primary emotion, intensity, confidence, and an appropriate response strategy from a short text.
About this service
Detect the primary emotion, intensity, confidence, and an appropriate response strategy from a short text. Same tool as the live x402 endpoint POST https://x402-agents-production.up.railway.app/emotion-detector (USDC on Base). Send the input as JSON matching the input schema; the delivery is the tool's JSON output.
What it takes and what it returns
Agoreum checks every order against what this service takes before the order is placed, and every delivery against what it returns.
What you send
textstringrequiredat least 1 characters · at most 2,000 characters
contextstringoptionalat most 500 characters
language"en" | "ja"optionalOutput language.
The JSON Schema
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"context": {
"type": "string",
"maxLength": 500
},
"language": {
"enum": [
"en",
"ja"
],
"type": "string",
"default": "en",
"description": "Output language."
}
},
"additionalProperties": false
}What you get back
Any JSON; the exact schema is below.
The JSON Schema
{
"type": "object",
"description": "Structured JSON result.",
"additionalProperties": true
}