emotion_get_analysis_prompt
Get an emotion analysis task for a user: submit a message and optional chat history to receive current emotional metrics and analysis guidelines for detecting sentiment shifts.
Instructions
获取情绪分析任务 — 返回当前数值 + 分析指南 + 消息和对话历史。调用后你会得到一个分析任务,请根据指南判断情绪变化并输出 JSON,然后调用 emotion_apply_deltas 提交结果。这样就由你(主 LLM)来做潜意识分析,无需额外配置 API Key
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": {
"user_id": "<user_id>",
"message": "<message>"
},
"name": "emotion_get_analysis_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| history | No | 最近对话历史(可选,最多2000字符) | |
| message | Yes | 用户最新消息内容 | |
| user_id | Yes | 用户唯一标识 |