19 lines
400 B
Go
19 lines
400 B
Go
package config
|
|
|
|
import "encoding/json"
|
|
|
|
type Tool struct {
|
|
Type string `json:"type"`
|
|
Function FunctionDefinition `json:"function"`
|
|
}
|
|
|
|
type FunctionDefinition struct {
|
|
Name string `json:"name"`
|
|
Description string `json:"description,omitempty"`
|
|
Parameters json.RawMessage `json:"parameters,omitempty"`
|
|
}
|
|
|
|
func AvailableTools() []Tool {
|
|
return []Tool{}
|
|
}
|