Edit a note
edit_noteEdits an existing Linko note for the signed-in user by note_id: title, content, visibility, tags and topics, and resource assignment. Existing content and assignments can be replaced. Visibility changes (private) are for when the user asks to change who can see the note; the private parameter describes what each value means.
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": {
"note_id": "<note_id>"
},
"name": "edit_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | New title, at most 300 characters. Omitted, the title stays as it is. | |
| content | No | New note text, plain text or Markdown, at most 1,000,000 characters; it replaces the whole body. Omitted, the body stays as it is. | |
| note_id | Yes | Exact ID of the note to edit, from search_notes or another note result. | |
| private | No | Changes who can see the note; meant for when the user asks to change its visibility. Omitted, visibility stays as it is. true ("Only me"): only the user can see the note in Linko, and it is stored encrypted. false ("Friends can see"): the user's confirmed Linko friends (approved followers) can also see it in Linko, on the user's profile, in their feed of friends' notes and when they open it, and the note is no longer stored encrypted. Neither value creates or removes a public share link: a note the user already shared to the web stays readable through that link until they turn it off in Linko. An account set to private keeps every note "Only me". | |
| resource_id | No | Links the note to the resource with this exact ID, from search_resources, replacing its current resource. | |
| subject_ids | No | Replaces the note's tags and topics with these exact IDs from list_tags_and_topics; not combined with subject_names. | |
| resource_name | No | Links the note to the resource in the user's library with this exact title, replacing its current resource. | |
| subject_names | No | Replaces the note's tags and topics with these, by name; an empty list removes them all. Each name is an existing tag or topic (list_tags_and_topics lists them); an unknown name is an error that names it, and nothing is saved. A comma-separated string is also accepted. Omitted, they stay as they are; not combined with subject_ids. | |
| clear_resource | No | true unlinks the note from its resource (default false). | |
| content_blocks | No | New structured body in place of content: a list of blocks such as [{"type": "paragraph", "content": "Text"}], a document object {"type": "doc", "content": [...]}, or either one as a JSON string; it replaces the whole body. Omitted, the body stays as it is. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |