extract_entity_relationships
Analyze entity co-occurrences in documents to extract paired relationships with strength and context.
Instructions
Extract co-occurrence relationships between entities in a document. Analyzes how entities appear together (e.g., VIC-II + raster interrupt, SID + sound programming). Returns entity pairs with relationship strength and context snippets.
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": {
"doc_id": "<doc_id>"
},
"name": "extract_entity_relationships"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | Document ID to extract relationships from | |
| min_confidence | No | Minimum confidence threshold for entities (0.0-1.0, default: 0.6) |