get_note
Retrieve saved notes by exact case-sensitive name to access stored data, reference documents, or session-attached content. Fetches complete note content; provide session_id for session-specific notes.
Instructions
Retrieve a saved note by its exact name.
Fetches the full content of a note previously created with save_note.
The name must match exactly (case-sensitive).
Use this when:
Retrieving stored data:
get_note("api-endpoints")Checking session-attached notes:
get_note("findings", session_id="s001")Loading a reference document you saved earlier
If you're not sure of the note name, use recall to search by content
or check session context with resume_session.
Args: name: The exact note name used when saving (case-sensitive). session_id: Required if the note was saved with a session_id. Omit for notes saved without a session.
Returns: The full note content. Returns an error if no note exists with that name, or if session_id is required but not provided.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- server.py:382-406 (handler)The get_note tool handler function that retrieves a saved note by name. It accepts a name (required) and optional session_id parameter, then delegates to the _proxy function to forward the call to the remote Astria instance.
@mcp.tool() async def get_note(name: str, session_id: Optional[str] = None) -> str: """Retrieve a saved note by its exact name. Fetches the full content of a note previously created with `save_note`. The name must match exactly (case-sensitive). Use this when: - Retrieving stored data: `get_note("api-endpoints")` - Checking session-attached notes: `get_note("findings", session_id="s001")` - Loading a reference document you saved earlier If you're not sure of the note name, use `recall` to search by content or check session context with `resume_session`. Args: name: The exact note name used when saving (case-sensitive). session_id: Required if the note was saved with a session_id. Omit for notes saved without a session. Returns: The full note content. Returns an error if no note exists with that name, or if session_id is required but not provided. """ return await _proxy("get_note", name=name, session_id=session_id)