generateActionTypes
function generateActionTypes(functionName, tool): Promise<string>;Defined in: types/types.ts:38
Builds the ambient TypeScript declarations for a single action: named
interfaces for its input and output (derived from the Zod schemas via JSON
Schema), plus the declare function that exposes it under functionName.
Self-contained, so it can describe one tool in isolation or be concatenated
with others via combineSandboxTypes.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
functionName |
string |
tool |
Tool |
Returns
Section titled “Returns”Promise<string>