package com.sonic.cow.client.request;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonIgnoreProperties(ignoreUnknown = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Tools {

    /**
     * 可以调用的函数名称
     */
    private String name;

    /**
     * 工具调用的类型，默认为function
     */
    private String type = "function";

    /**
     * 被调用函数的描述
     */
    private String description;

    /**
     * JSON Schema 格式的函数的请求参数
     */
    private String parameters;

}
