Skip to content

数据模型: Tool ​

Tool ​

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

数据模型示例 ​

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

Released under the MIT License.