functai for TypeScript - v0.1.0
    Preparing search index...

    Interface Approval

    One tool call waiting for a person's answer (contract/tools.md).

    interface Approval {
        call: string;
        effects: "reads" | "changes" | null;
        id: string;
        input: unknown;
        invocation: number;
        name: string;
        path: string;
        plugin: string;
        question?: string | null;
        site: string;
    }
    Index
    call: string

    The id of the call that asked for the tool (an AI function's call).

    effects: "reads" | "changes" | null

    What the tool says it does: "reads", "changes", or null (unknown: it counts as "changes").

    id: string

    The id the model gave the tool call.

    input: unknown
    invocation: number

    The tool call's number among the tool calls of that call (1, 2, …).

    name: string
    path: string

    Where it is, by names: support/answer/refund. Rules are written with it.

    plugin: string

    The plugin that asks (approval: the approve setting).

    question?: string | null

    Why it asks, when it says.

    site: string

    The asking call's place in its tree (support#1/answer#1): what resuming finds it by.