Get a note
get_noteFetch a note's full, heading-map, chunk, or metadata context by ULID, chunk ID, or vault path to verify details before answering from a search snippet.
Instructions
Fetch the full context behind a search hit before answering from a snippet alone. Fetch a single note by its ULID, indexed chunk_id, or vault-relative path. chunk_id inputs return format='chunk' with the sandbox-wrapped chunk body; a parent-hash mismatch returns an explicit stale-chunk error. Chunk reads ignore offset/limit. For note inputs, format='full' returns the sandbox-wrapped body and offset/limit page large notes by character range; format='map' pages the heading outline (offset/limit count headings); format='metadata' pages a sanitized JSON string in metadata_json (offset/limit count characters; concatenate pages then parse JSON). Read next_offset until null with an unchanged content_hash. Large inline metadata is omitted with metadata_truncated=true. All successful read envelopes obey DATACRON_MAX_READ_RESPONSE_CHARS. heading_path selects exact rendered heading ancestry including its subtree; repeated paths require a 1-based heading_occurrence. Section reads require full format and a note input, include source line spans and the original note hash, and paginate relative to the redacted section. Every format carries the same freshness as recall when the vault declares review windows.
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": {
"id_or_path": "<id_or_path>"
},
"name": "get_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| format | No | full | |
| offset | No | ||
| id_or_path | Yes | ||
| heading_path | No | ||
| heading_occurrence | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| tags | No | ||
| title | No | ||
| total | No | ||
| format | Yes | ||
| offset | No | ||
| aliases | No | ||
| content | No | ||
| created | No | ||
| note_id | No | ||
| section | No | ||
| updated | No | ||
| chunk_id | No | ||
| headings | No | ||
| line_end | No | ||
| rel_path | Yes | ||
| returned | No | ||
| writable | No | ||
| freshness | No | ||
| truncated | No | ||
| line_start | No | ||
| chunk_count | No | ||
| frontmatter | No | ||
| header_path | No | ||
| next_offset | No | ||
| total_chars | No | ||
| content_hash | No | ||
| source_mount | No | ||
| source_vault | No | ||
| limit_applied | No | ||
| metadata_json | No | ||
| next_chunk_id | No | ||
| prev_chunk_id | No | ||
| returned_chars | No | ||
| estimated_tokens | No | ||
| note_content_hash | No | ||
| chunk_content_hash | No | ||
| metadata_truncated | No | ||
| content_hash_contract | No | ||
| returned_estimated_tokens | No |