Class: Ultrasafeai::Types::ChatCompletionTool
- Inherits:
-
Internal::Types::Model
- Object
- Internal::Types::Model
- Ultrasafeai::Types::ChatCompletionTool
- Defined in:
- lib/ultrasafeai/types/chat_completion_tool.rb
Overview
A function tool the model may call. The API receives tools in flat format (name, description, parameters directly
at the top level — not wrapped in a function key). The SDK's normalize_tool_for_api converts nested {type, function: {...}} format to this flat shape automatically.
Method Summary
Methods inherited from Internal::Types::Model
#==, ===, add_extra_field_definition, coerce, extra_fields, field, fields, #initialize, #inspect, literal, load, #to_h
Methods included from Internal::Types::Type
Methods included from Internal::JSON::Serializable
Constructor Details
This class inherits a constructor from Ultrasafeai::Internal::Types::Model