get_resume_brief
Call once at session start to get a complete resume brief: user identity, project state, today's log, recent context, top lessons, and docs to read. Use it when switching tools or continuing prior work.
Instructions
跨会话/跨工具接续简报(v3.30 新增)。 / Cross-session, cross-tool resume brief.
**用途:v3.30 行业首家"一次调用拿到完整接续简报"的高层 API。**
用户切换工具(Claude Code → Codex/Cursor)或开新对话时,AI 调用本工具
一次即可拿到:用户身份 + 当前项目状态 + 今日日志 + 最近会话上下文 +
最近经验/决策 + 建议阅读的项目文档清单。结果用
``<engram-resume priority="high">`` XML 标签包裹,提示客户端 AI 优先遵守。
Purpose (v3.30): the "what does the next AI need to know in 30 seconds"
high-level endpoint. When users switch tools or open a new chat,
calling this once returns identity + project state + today's daily log
+ recent context + top lessons/decisions + suggested project docs to
read. Result is wrapped in ``<engram-resume priority="high">`` so client
AIs (Claude Code additionalContext, Codex system prompt, etc.) treat
it as high-priority reference context.
Lifecycle: **session start** — call before the first user message in a
new session when continuing prior work, or whenever the user says
things like "接着上次", "继续之前", "what were we doing".
Args:
project_folder: 项目文件夹路径(可选)。留空只返回身份卡。 /
Project folder (optional). Empty returns identity-only.
token_budget: 输出 token 软上限(默认 2000,约 8000 字符)。超出时结果带 omitted,正文末尾注明省略了什么。 /
Soft cap for output tokens (default 2000 ≈ 8000 chars). When it cuts content,
the result carries ``omitted`` and the brief ends with one line naming what was left out.
include_resume_pack: Include structured ``project_resume_pack.v1`` in
the JSON response. Defaults to false to preserve existing output.
include_agent_context_pack: Include structured
``agent_context_pack.v1`` for delegated sub-agent briefing.
Defaults to false to preserve existing output.
agent_role: Role used to shape the optional agent context pack.
task_summary: Current delegated task summary for agent-pack selection.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_resume_brief"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_role | No | orchestrator | |
| task_summary | No | ||
| token_budget | No | ||
| project_folder | No | ||
| include_resume_pack | No | ||
| include_agent_context_pack | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |