struct AI::OpenAI::Tools::AllowedToolsFilter

Overview

Allowed tools filter for MCP.

Defined in:

ai/openai/tool/openai_tools.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(read_only : Bool | Nil = nil, tool_names : Array(String) | Nil = nil) #

[View source]

Instance Method Detail

def read_only : Bool | Nil #

[View source]
def to_h : Hash(String, JSON::Any) #

[View source]
def tool_names : Array(String) | Nil #

[View source]