link_entities
Creates a Knowledge Graph link between two entities using source and target URIs, enabling AI coding agents to connect notes, files, or external references by a chosen relation.
Instructions
Create a Knowledge Graph link between two entities.
Entities are specified using URIs:
Note: note://<note_id>
File: file://<relative_path> (relative to project root)
External: e.g. issue://BUG-404, task://TASK-101
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": {
"source_uri": "<source_uri>",
"target_uri": "<target_uri>",
"relation_type": "<relation_type>"
},
"name": "link_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | project | |
| source_uri | Yes | ||
| target_uri | Yes | ||
| relation_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||