Link
links_addLink one of the user's notes, tasks or contacts to a note, task, contact or web page, e.g. a task to the note it came from, or a note to the people it's about. A link goes one way: it is the item's it's from, under linked_notes, linked_tasks or linked_contacts, and shows on a note, task or contact it goes to under linked_from_notes, linked_from_tasks or linked_from_contacts. Linking to a note, task or contact takes the user seeing it, and a contact must be theirs. To file something in a folder, use folders_add_item. Returns the item linked from, as it is now.
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_type": "<from_type>",
"from_uuid": "<from_uuid>",
"to_type": "<to_type>"
},
"name": "links_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_url | No | The web page's address, for to_type web_page | |
| to_type | Yes | What it goes to | |
| to_uuid | No | The note's, task's or contact's uuid | |
| from_type | Yes | What the link goes from | |
| from_uuid | Yes | Its uuid |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||