compute_emotion_curve
Computes the emotion curve of the journey: average emotion per phase (phases ordered via orderInPhase). Counts ONLY the customer-side steps — swimlane='customer' or swimlane absent; a step explicitly frontstage/backstage/support is excluded from the computation even if it carries metadata.emotion. Returns emotionCurve [{phaseId, phaseName, emotion}], overall averageEmotion, swimlanesUsed, countsByType. Serves summary visualizations or a numeric recap.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "compute_emotion_curve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _unused | No | Unused parameter | |
| expectedProjectId | No | UUID of the project THIS call targets (overrides the session project). |