mem_context
Get a current project's pinned and recent observations, sessions, and user prompts to regain context. Preview long content and fetch full entries as needed.
Instructions
Get pinned and recent observations plus the recent sessions and user prompts of a project. Answers about the current project unless you pass a project or all_projects. Long bodies come back as a 400-character preview marked content_truncated; read one in full with mem_get_observation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of recent observations. Eighty at most, which is the deepest context Leteo itself is ever configured to open with. | |
| scope | No | Restrict observations to this scope: project, personal, or global. | |
| project | No | Restrict recent observations to this project. | |
| all_projects | No | List every project and ignore the detected one. | |
| prompt_limit | No | Maximum number of recent user prompts. Twenty at most, the ceiling every list on this surface has. | |
| session_limit | No | Maximum number of recent sessions. Twenty at most, the ceiling every list on this surface has. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | Carried when this project answered with nothing and the store did not. | |
| count | No | How many memories this answer carries, across both lists. | |
| project | No | ||
| prompts | No | ||
| sessions | No | ||
| observations | No | ||
| project_path | No | Where the project lives, when the answer came from a directory. | |
| pinned_omitted | No | How many pinned memories did not fit, when the shelf outgrew the block. | |
| project_source | No | ||
| also_remembered | No | Everything behind the newest few, as an index rather than a recital. | |
| memory_language | No | What language to write and search memories in. |