Skip to main content

Get Observation

获取当前环境观察、工具列表和完成状态

Request Body REQUIRED
session_id Session Id REQUIRED
Responses
200

Successful Response

Schema OPTIONAL
state 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