Class: Raif::Concerns::ToolCallValidation::ValidationResult

Inherits:
Struct
  • Object
show all
Defined in:
app/models/raif/concerns/tool_call_validation.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#errorsObject

Returns the value of attribute errors

Returns:

  • (Object)

    the current value of errors



14
15
16
# File 'app/models/raif/concerns/tool_call_validation.rb', line 14

def errors
  @errors
end

#prepared_argumentsObject

Returns the value of attribute prepared_arguments

Returns:

  • (Object)

    the current value of prepared_arguments



14
15
16
# File 'app/models/raif/concerns/tool_call_validation.rb', line 14

def prepared_arguments
  @prepared_arguments
end

#raw_argumentsObject

Returns the value of attribute raw_arguments

Returns:

  • (Object)

    the current value of raw_arguments



14
15
16
# File 'app/models/raif/concerns/tool_call_validation.rb', line 14

def raw_arguments
  @raw_arguments
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



14
15
16
# File 'app/models/raif/concerns/tool_call_validation.rb', line 14

def status
  @status
end

#tool_klassObject

Returns the value of attribute tool_klass

Returns:

  • (Object)

    the current value of tool_klass



14
15
16
# File 'app/models/raif/concerns/tool_call_validation.rb', line 14

def tool_klass
  @tool_klass
end

#tool_nameObject

Returns the value of attribute tool_name

Returns:

  • (Object)

    the current value of tool_name



14
15
16
# File 'app/models/raif/concerns/tool_call_validation.rb', line 14

def tool_name
  @tool_name
end

Instance Method Details

#ok?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'app/models/raif/concerns/tool_call_validation.rb', line 15

def ok?
  status == :ok
end