Skip to content

数据模型: Tool

Tool

字段类型必选描述
typestring
functionobject
function.namestring
function.descriptionstring
function.parametersobjectJSON Schema 格式的参数定义

数据模型示例

json
{
  "type": "function",
  "function": {
    "name": "string",
    "description": "string",
    "parameters": {}
  }
}

Released under the MIT License.