Documentation
¶
Index ¶
- func CallFunction(fn interface{}, args ...interface{}) (interface{}, error, error)
- func GetFullSchemaFromInterface(t reflect.Type) (*jsonschema.Schema, string, error)
- func GetSchemaFromType(t reflect.Type) (*jsonschema.Schema, string, error)
- func ValidateJsonSchemaWithBytes(schema *jsonschema.Schema, data []byte) error
- func ValidateJsonSchemaWithObject(schema *jsonschema.Schema, data interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallFunction ¶
CallTool invokes a tool by name with provided arguments returns the result, error, error the first error is the error from the function when called, the second error is if there was an error validating the arguments
func GetSchemaFromType ¶
func ValidateJsonSchemaWithBytes ¶
func ValidateJsonSchemaWithBytes(schema *jsonschema.Schema, data []byte) error
func ValidateJsonSchemaWithObject ¶
func ValidateJsonSchemaWithObject(schema *jsonschema.Schema, data interface{}) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.