get_case_sentiment
Assess customer sentiment on a ServiceNow CSM case with the Now Assist sentiment skill; if unavailable, return case details and customer comments for analysis.
Instructions
Assess customer sentiment on a CSM case via the Now Assist sentiment skill when available, else return the case + customer comments for sentiment analysis. Parity with ServiceNow CSM "Sentiment Analysis"
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": {
"case": "<case>"
},
"name": "get_case_sentiment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case | Yes | CSM case number or sys_id | |
| table | No | Case table (default sn_customerservice_case) |