Bluestep JS Documentation
    Preparing search index...

    Interface AiToolLiteral<S>

    Inline-tool literal whose executor's args is typed against the schema in the same object — used by B.ai.call's tools slots so the executor's argument type is derived from input_schema without going through B.ai.tool.custom().

    interface AiToolLiteral<S extends JSONSchema = JSONSchema> {
        description?: string;
        executor: (args: FromSchema<S>) => unknown;
        input_schema: S;
        name: string;
    }

    Type Parameters

    Index

    Properties

    description?: string
    executor: (args: FromSchema<S>) => unknown
    input_schema: S
    name: string