tool2agent API Documentation - v0.0.0
    Preparing search index...

    Type Alias ToolCallSuccess<OutputType>

    ToolCallSuccess: { ok: true } & (
        [OutputType] extends [never]
            ? {}
            : [OutputType] extends [Record<string, never>]
                ? {}
                : OutputAsRecord<OutputType>
    ) & FeedbackAndInstructions

    Accepted tool call. Must contain ok: true, the rest of the fields, and (optionally) feedback and instructions.

    Type Parameters

    • OutputType