anthropics / anthropics/claude-agent-sdk-python

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

Aperta
#980 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Python
Stelle
8.1k
Fork
1.3k
Merge medio
2g 31m
PR unite (30g)
1

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.