Co-occurrence matrix
get_cooccurrenceCount pairs of metadata values co-tagged on the same items. Matrix/network views show descriptive associations, not causal links. Filters apply before pair counting; top_n caps the vocabulary.
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_cooccurrence"
}
}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>. | |
| field | No | subject (default) | spatial | author | language | |
| top_n | No | Values on each axis (default 15, max 30) | |
| subset | No | articles (default) | publications | references | |
| 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 | |
| keyword_aliases | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| view | Yes | ||
| field | Yes | ||
| matrix | Yes | ||
| subset | Yes | ||
| values | Yes | ||
| filters | Yes | ||
| top_pairs | Yes | ||
| total_matches | Yes |