context_append
Append key facts, decisions, or notes to a session memory so they survive context compaction. Use pinned entries for critical constraints that must always be retained.
Instructions
Record something worth remembering into the session. Use this as you go — after discovering a fact, making a decision, or hitting a dead end — rather than trying to hold it all in your reply. Keep each entry self-contained: it may be read back much later without the surrounding conversation. Set pinned for facts that must never be dropped during compaction, such as the goal or a hard constraint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | note (default), decision, user, assistant, system | |
| tags | No | Short labels to group entries | |
| text | Yes | The content to remember, written to stand alone | |
| pinned | No | Always survives compaction and is always included in recall | |
| session_id | Yes | Session identifier. Reuse the same string across a task to accumulate memory. |