analyze_call
Analyzes a single customer-service call from audio, URL, transcript JSON, or demo ID and saves results locally, returning sentiment, contact reasons, key moments, and a transcript excerpt.
Instructions
Analyze one customer-service call and save the result in the local database.
source: a local audio file, an http(s) URL to an audio file, a local JSON file of transcript
segments [{start, end, text}], or a demo call id (demo-1 ... demo-6).
started_at: ISO date-time of the call (default: now). language: e.g. "fr" or "en" (audio only).
Returns sentiment, contact reasons, key moments (complaint, churn threat, agent promise) and a
transcript excerpt. Runs locally: audio is transcribed on this machine.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": {
"source": "<source>"
},
"name": "analyze_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| call_id | No | ||
| language | No | ||
| started_at | No |