link
Create a typed relationship between two entities using kinds like thread, note, or task and relations like depends_on or contradicts. Replaces duplicate edges to keep knowledge graph consistent.
Instructions
Create a typed edge between two entities.
Kinds: thread, note, concept, distill, task, signal, probe. Relations (suggested, free-form ok): refines, contradicts, exemplifies, depends_on, mentions, elaborates, supersedes.
Existing edge with same (from, to, relation) is replaced (re-linking means updating weight/timestamp, not duplicating).
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": {
"from_kind": "<from_kind>",
"from_id": "<from_id>",
"to_kind": "<to_kind>",
"to_id": "<to_id>",
"relation": "<relation>"
},
"name": "link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_id | Yes | ||
| weight | No | ||
| from_id | Yes | ||
| to_kind | Yes | ||
| relation | Yes | ||
| from_kind | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |