memory_context
Retrieve persistent and recent memories at the start of each conversation to share cross-agent context and avoid re-explaining decisions, preferences, and pitfalls.
Instructions
获取常驻上下文包(建议每次对话开始时调用):常驻记忆 + 近期重点记忆,一次拿齐跨 Agent 共享的上下文。输出顺序固定(常驻在前、近期在后),便于模型商前缀缓存命中、省 token
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 近期重点条数,默认8 | |
| branch | No | 可选:当前所在 Git 分支。**不传时自动读当前目录的 git 分支、并在末尾标出「(自动探测)」**;同分支的记忆排前面,其他分支降权但不隐藏。不能带换行/控制字符 | |
| project | No | 项目名(可选,留空返回全局) |