Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
AI::OpenAI::Responses::PrepareToolsResult
Inherits
Struct
<
Value
<
Object
Result of preparing tools for Responses API
Constructors
new
(tools :
Array
(
Hash
(
String
,
JSON::Any
)) |
Nil
= nil, tool_choice :
ResponsesToolChoice
= nil, tool_warnings :
Array
(
Provider::Shared::Warning
) = [] of
Provider::Shared::Warning
)
Source
Instance methods
tool_choice
Source
tool_warnings
Source
tools
Source