resolve-paragraph-anchor
Resolve a stored paragraph anchor to its current link and verify the anchored paragraph still exists after edits, returning match status, method, confidence, and change details.
Instructions
Use when: you have an anchorId and need the paragraph's current link, or want to check that an anchored paragraph still exists after edits. Returns: status (resolved, needs-reminting, ambiguous, low-confidence, not-found, note-not-found, note-deleted, note-unreadable), method (paragraph-id, exact-text, text-and-neighbours), confidence from 0 to 1, the matched block (blockIndex, text, paragraphId, paragraphIdStatus) and what changed. url is present only when status is resolved. Do not use when: you have no anchor yet (create-paragraph-anchor, or get-paragraph-link with recordAnchor). Safety: reads the NoteStore database (Full Disk Access); never changes Notes. Fails closed: equally good candidates give ambiguous and no url. needs-reminting means the paragraph was found but its stored ID is shared or missing, so no safe link exists for it; this server cannot give it a new ID. refresh rewrites the stored anchor (local registry only) after a match with confidence 0.8 or more.
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": {
"anchorId": "<anchorId>"
},
"name": "resolve-paragraph-anchor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No | Update the stored anchor to the matched paragraph as it is now (default false; only at confidence 0.8 or more) | |
| anchorId | Yes | Anchor id (pa_ and 24 hex digits) from create-paragraph-anchor or list-paragraph-anchors | |
| minConfidence | No | Lowest confidence accepted as a match (default 0.6) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| match | No | ||
| method | No | ||
| noteId | No | ||
| status | No | ||
| changes | No | ||
| message | No | ||
| anchorId | No | ||
| resolved | No | ||
| refreshed | No | ||
| candidates | No | ||
| confidence | No | ||
| needsReminting | No | ||
| refreshSkipped | No |