Cortex Sentiment
cortex_sentimentAnalyzes text sentiment via Snowflake AI_SENTIMENT, returning overall and optional aspect categories instead of a legacy numeric score.
Instructions
Analyze sentiment via Snowflake AI_SENTIMENT. Returns an object with a categories array (overall plus optional aspects), not a legacy -1.0..1.0 float score.
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>"
},
"name": "cortex_sentiment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||