// This file was auto-generated by Fern from our API Definition.

import type * as Vapi from "../index.js";

export interface ToolMessage {
    /** This is the role of the message author */
    role: Vapi.ToolMessageRole;
    /** This is the content of the tool message */
    content: string;
    /** This is the ID of the tool call this message is responding to */
    tool_call_id: string;
    /** This is an optional name for the participant */
    name?: string | undefined;
    /** This is an optional metadata for the message */
    metadata?: Record<string, unknown> | undefined;
}
