add_link_to_note
Add an internal link to a note in an Obsidian vault. Choose to append or prepend the link, and optionally format it as a list item.
Instructions
Add an internal link ([[note]]) to a note. Can append to the end or insert at a specific location.
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": {
"sourcePath": "<sourcePath>",
"targetPath": "<targetPath>"
},
"name": "add_link_to_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| position | No | Where to add the link (append or prepend). | append |
| asListItem | No | Whether to format as a list item (- [[link]]). | |
| sourcePath | Yes | Path to the note to add the link to. | |
| targetPath | Yes | Path of the note to link to. | |
| displayText | No | Optional display text for the link. |