Creating Plot Twists
    Preparing search index...

    Interface ToolCallPart

    Tool call content part of a prompt. It contains a tool call (usually generated by the AI model).

    interface ToolCallPart {
        type: "tool-call";
        toolCallId: string;
        toolName: string;
        input: unknown;
    }
    Index

    Properties

    type: "tool-call"
    toolCallId: string

    ID of the tool call. This ID is used to match the tool call with the tool result.

    toolName: string

    Name of the tool that is being called.

    input: unknown

    Arguments of the tool call. This is a JSON-serializable object that matches the tool's input schema.