跳到主要内容

Reset Environment

重置环境到初始状态

Request Body — REQUIRED
session_id Session Id — REQUIRED
seed Seed
options Options
Responses
200

Successful Response

Schema — OPTIONAL
observation object
tools object[]
type string

Possible values: [function]

工具类型,此处固定为 function。

function object
name string

工具/函数名称(唯一标识)。

description string — OPTIONAL

函数的用途说明。

parameters object

JSON Schema for the function parameters.

strict boolean — OPTIONAL

是否启用严格参数校验。

done Done — OPTIONAL
422

Validation Error

Schema — OPTIONAL
detail object[] — OPTIONAL
loc undefined[]
msg Message
type Error Type