Cereal docs
TypeScript SDKTypeScript signatures

CerealToolCall

Public TypeScript declaration from @trycereal/sdk/browser.

Import from @trycereal/sdk/browser. Generated from the repository SDK declarations (package version 0.0.0); not from HTTP request schemas.

export interface CerealToolCall {
    readonly toolCallId: string;
    readonly name: string;
    readonly input: unknown;
    readonly output?: unknown;
    readonly error?: string | undefined;
    readonly denied?: boolean;
    readonly parentToolCallId?: string | undefined;
}

See SDK setup, authoring, client behavior, and the API/SDK map for usage. Domain types are described in schema reference.