File size: 1,119 Bytes
6639f75
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
  "name": "analyze_sentiment",
  "description": "Analyze sentiment of text with confidence scoring and emotion detection",
  "parameters": {
    "type": "object",
    "properties": {
      "text": {
        "type": "string",
        "description": "Text to analyze for sentiment"
      },
      "language": {
        "type": "string",
        "description": "Language code (en, es, fr, etc.)",
        "default": "en"
      },
      "include_emotions": {
        "type": "boolean",
        "description": "Include detailed emotion breakdown",
        "default": false
      },
      "confidence_threshold": {
        "type": "number",
        "description": "Minimum confidence score (0.0-1.0)",
        "minimum": 0.0,
        "maximum": 1.0,
        "default": 0.7
      }
    },
    "required": ["text"]
  },
  "test_questions": [
    "Analyze the sentiment of this review: 'The product was amazing and exceeded my expectations!'",
    "Check sentiment for 'I'm feeling frustrated with this service' with emotion details",
    "What's the sentiment of this Spanish text: 'Me encanta este lugar' in Spanish?"
  ]
}