link_notes
Links two Obsidian notes by appending a wiki-link with a context sentence to the source, recording the connection for graph analytics.
Instructions
Add a wiki-link from one note to another with a context sentence describing why they're connected. Appends the link to the source note and records the edge in the graph so analytics pick it up.
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": "<source>",
"target": "<target>",
"context": "<context>"
},
"name": "link_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Source note to add the link from (path or fuzzy match). | |
| target | Yes | Target note to link to (path, title, or new wiki-link ref). | |
| context | Yes | One-sentence explanation of why these notes are connected. | |
| dryRun | No | If true, return the line that would be appended without writing. |