analyze_text
Analyze a block of text synchronously.
Creates a single-segment analysis, runs the text pipeline, and returns
the analysis. Useful for analyzing short transcripts or chat logs
without uploading a file.
Args:
text: The text to analyze.
language: Language code (default 'en').
speaker: Speaker label for the single segment (default 'Person').
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": {
"text": "<text>"
},
"name": "analyze_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| speaker | No | Person | |
| language | No | en |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |