identify_speaker
Identify speakers in text segments by analyzing content, returning names with confidence levels and supporting evidence for any document type.
Instructions
Identify who is speaking in a text segment.
Returns speaker name, confidence level, and evidence. Domain-agnostic: works for any document type.
Args: segment_id: ID of the segment to analyze. priority_patterns: Optional: Speaker names to prioritize. exclude_patterns: Optional: Speaker patterns to flag as ambiguous. expected_speaker: Optional: verify this specific speaker.
Returns: Speaker identification result.
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": {
"segment_id": "<segment_id>"
},
"name": "identify_speaker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| segment_id | Yes | ||
| priority_patterns | No | ||
| exclude_patterns | No | ||
| expected_speaker | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||