anthropics / anthropics/claude-code

Expose the beta advisor and memory API tools in Claude Code

未关闭
#91,891 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:api area:core enhancement
主要语言
Python
星标
145k
派生
23.1k
PR 合并指标
PR 指标待抓取

描述

### Preflight Checklist

- [x] I have searched [existing requests](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20label%3Aenhancement) and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)

### Problem Statement

Please surface the beta API tools advisor_20260301 (advisor tool) and memory_20250818 (memory tool) as configurable tools within Claude Code (CLI + desktop), the way they can already be configured via the Messages API.

Both are standard Claude API tools available to any application that makes API calls, but Claude Code doesn't expose tool configuration, so they can't be used in a Claude Code session today. Two concrete benefits:

Memory tool — Claude Code's auto-memory currently loads only the first ~200 lines / ~25KB of MEMORY.md and silently truncates the rest tail-first at read time (the cap isn't configurable in settings). A directory-backed memory tool (view/create/str_replace/insert/delete/rename over a /memories dir) would remove that single-capped-index limitation entirely — a large memory store navigated without an index that overflows.
Advisor tool — pairing a cheaper executor model with a higher-tier advisor for mid-task strategic guidance is exactly the pattern long-horizon Claude Code coding sessions benefit from, with no way to configure it today.

Ideal: allow enabling these (and other beta API tools) via settings.json tool configuration, with Claude Code handling the beta header.

### Proposed Solution

Ideal: allow enabling these (and other beta API tools) via settings.json tool configuration, with Claude Code handling the beta header.

### Alternative Solutions

_No response_

### Priority

Critical - Blocking my work

### Feature Category

CLI commands and flags

### Use Case Example

_No response_

### Additional Context

_No response_

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start by comparing the existing Messages API tool configuration with Claude Code's settings.json and its CLI and desktop configuration paths. Trace how configurable tools and beta headers are represented. Done means advisor_20260301 and memory_20250818 can be enabled for both surfaces through settings, with their configuration behavior verified.

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
api, cli, desktop-dev
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
活跃
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。