Let Claude call your own TypeScript functions with tool use
Wrap a function as a Claude tool with a Zod schema and let the SDK's tool runner call it and answer with the result.
Install
npx shadcn add https://www.wirestack.site/r/claude-tool-use-typescript-tool-runner.json.env.local.Your keys
0 of 1 ready
Create each key on its own page, paste it below, then copy the finished lines into your project's .env file. Your keys stay in this tab. They are never sent to Wirestack or saved; we only count that the panel was used.
- Anthropic API keyANTHROPIC_API_KEYGet key
Click Create key, name it, pick an expiry and set Linked account to yourself. It starts with sk-ant-api
Free accounts can open one adapted integration a month. Sign in to try it.
Set it up by hand
No AI tool or account needed: follow the steps and copy the code into your project.



