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

A Realtime item requesting human approval of a tool invocation.

Fields

  • :arguments - required - String.t()
    A JSON string of arguments for the tool.

  • :id - required - String.t()
    The unique ID of the approval request.

  • :name - required - String.t()
    The name of the tool to run.

  • :server_label - required - String.t()
    The label of the MCP server making the request.

  • :type - required - :mcp_approval_request
    The type of the item. Always mcp_approval_request.
    Allowed values: "mcp_approval_request"

Summary

Types

@type t() :: %ExOpenAI.Components.RealtimeMCPApprovalRequest{
  arguments: String.t(),
  id: String.t(),
  name: String.t(),
  server_label: String.t(),
  type: :mcp_approval_request
}