links-manage
Create or remove a bidirectional link between two notes. Required: action ('link'|'unlink'), source_note_id (integer), target_note_id (integer). Prefer wiki-link syntax [[id:Title]] in note bodies for inline linking — use this tool for programmatic links without modifying body text. Unlinking is destructive and cannot be undone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action: 'link' to create a link, 'unlink' to remove it (required) | |
| source_note_id | Yes | First note ID (required) | |
| target_note_id | Yes | Second note ID (required) |