Documentation
    Preparing search index...

    Interface LlmToolCallPart

    A model request to call one tool. Permitted only in assistant messages. A call is a request, not authorization: the napplet validates it and executes it, if at all, through separately authorized capabilities.

    interface LlmToolCallPart {
        arguments: Record<string, unknown>;
        name: string;
        toolCallId: string;
        type: "toolCall";
    }
    Index

    Properties

    arguments: Record<string, unknown>

    Tool arguments as a JSON object.

    name: string

    Tool name.

    toolCallId: string

    Stable id matching the later toolResult message.

    type: "toolCall"