Theo Docs
TheoKitTheoKit-SDKTheoUITheo PaaS
API reference

DefineToolSpec

Spec accepted by defineTool. `inputSchema` is a Zod schema; the

DefineToolSpec

Auto-generated from TypeDoc on each build. Edit the JSDoc in packages/sdk/src/ to change this page.

Spec accepted by defineTool. inputSchema is a Zod schema; the handler argument type is inferred via z.infer<T> — no as casts.

Signature

interface DefineToolSpec { /* ... */ }

Kind

interface

Source

packages/sdk/src/define-tool.ts:20

On this page