anthropics / anthropics/claude-agent-sdk-python

Support tool aliases similar to the TypeScript SDK's Options.toolAliases

未关闭
#980 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Python
星标
8.1k
派生
1.3k
平均合并
2 天 31 分钟
30 天内合并 PR
1

描述

It's often useful to be able to replace some of the built-in tools with your own tools, for instance to allow `Read` and `Write` to directly access some other file space or to dynamically customise `Bash` behaviour. The TypeScript Agent SDK allows this with the `toolAliases` in the [`Options`](https://code.claude.com/docs/en/agent-sdk/typescript#options). Please can the Python SDK be updated to support this functionality too?

I'd implement this myself and submit a PR, but I can't see how the TypeScript SDK implements this since it seems to be closed source.

贡献指南

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

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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