View Source ExOpenAI.Components.ResponseMCPCallFailedEvent (ex_openai.ex v2.0.0-beta2)

Emitted when an MCP tool call has failed.

Fields

  • :item_id - required - String.t()
    The ID of the MCP tool call item that failed.

  • :output_index - required - integer()
    The index of the output item that failed.

  • :sequence_number - required - integer()
    The sequence number of this event.

  • :type - required - :"response.mcp_call.failed"
    The type of the event. Always 'response.mcp_call.failed'.
    Allowed values: "response.mcp_call.failed"

Summary

Types

@type t() :: %ExOpenAI.Components.ResponseMCPCallFailedEvent{
  item_id: String.t(),
  output_index: integer(),
  sequence_number: integer(),
  type: :"response.mcp_call.failed"
}