wrote a quick wrapper for this in typescript cause I wanted this, it is very jank and do hope there is a good first party one
based on this alpha sdk from anthropic https://github.com/anthropics/anthropic-tools/
based on this alpha sdk from anthropic https://github.com/anthropics/anthropic-tools/