class

OpenAI::MCPToolRequireApprovalVariant1Inner1

Inherits JSON::Serializable < Reference < Object

Specify which of the MCP server's tools require approval. Can be always, never, or a filter object associated with tools that require approval.

Constructors

new(always : MCPToolFilter | Nil = nil, never : MCPToolFilter | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

always
Source
always=(always : MCPToolFilter | Nil)
Source
never
Source
never=(never : MCPToolFilter | Nil)
Source