Aggregate AI sentiment
get_sentiment_distributionAggregate AI labels over a shared selection. model:"all" compares independent annotators and their coverage; model:"consensus" reads the stored panel majority. compare_models and agreement_field give pairwise Cohen's kappa and quadratic weighted kappa, with explicit denominators. Labels are interpretations, not ground truth; subjectivity is weak evidence, and results carry its caveat.
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": "get_sentiment_distribution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exact | No | AND values. Fields: subject/spatial/author/language/country/newspaper/topic_id/min_prob/scored_by; country_raw=whole cell; polarity:<model>. | |
| model | No | gpt-5-6-luna | mistral-small-2603 | deepseek-v4-flash-0731 | gemma-4-31b-it | qwen3-8-27b | claude-haiku-5-5 | all | consensus; default claude-haiku-5-5. Vendor aliases accepted; retired models rejected. | |
| country | No | Exact country name (accents optional) | |
| date_to | No | ||
| keyword | No | ||
| subject | No | Exact tag | |
| date_from | No | Inclusive date bounds: YYYY[-MM[-DD]] | |
| newspaper | No | Newspaper/periodical substring | |
| hijri_year | No | ||
| hijri_month | No | ||
| keyword_mode | No | literal: the whole keyword as one substring | |
| compare_models | No | Pair of model IDs or aliases; requires model:"all" | |
| agreement_field | No | ||
| keyword_aliases | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| view | Yes | ||
| model | Yes | ||
| models | No | ||
| filters | Yes | ||
| by_model | No | ||
| coverage | No | ||
| disputed | No | ||
| agreement | No | ||
| consensus | No | ||
| model_caveat | No | ||
| subjectivity | No | ||
| instrument_ids | No | ||
| total_articles | Yes | ||
| agreement_matrix | No | ||
| polarity_distribution | No | ||
| centrality_distribution | No | ||
| subjectivity_median_rank | No |