Skip to content

ExecuteFunctionInput

functionId: string;

Fully qualified id of the original built-in (e.g. Array.prototype.map).


prompt: string;

Natural-language steering string supplied by the application.


instance: unknown;

Receiver / this value for instance methods. null for static methods. Distinct from args so the proxy contract stays explicit.


args: Record<string, unknown>;

Named arguments map. Keys correspond to the parameter names taken from the original TS lib signature. Variadic items live under their declared rest-parameter name (e.g. items, values, codes).


signatureHint: SignatureHint[];

systemPrompt: string;

optional model?: string;