class OpenRouter::FunctionParameter
- OpenRouter::FunctionParameter
- Reference
- Object
Defined in:
openrouter/types/tool.crConstructors
Instance Method Summary
- #description : String
- #description=(description : String)
- #name : String
- #name=(name : String)
- #required : Bool
- #required=(required : Bool)
- #to_json(io : IO)
- #to_json(json : JSON::Builder)
- #type : String
- #type=(type : String)
Constructor Detail
def self.new(name : String, type : String, description : String, required : Bool = false)
#