Skip to content

uni-flow 公开 API(中文注解)


uni-flow 公开 API(中文注解) / Tool

Interface: Tool ​

Defined in: core/types.ts:14

可供 Agent 调用的工具描述。

Properties ​

description ​

description: string

Defined in: core/types.ts:18

人类可读说明。


name ​

name: string

Defined in: core/types.ts:16

工具名。


parameters? ​

optional parameters?: Record<string, unknown>

Defined in: core/types.ts:20

JSON Schema 风格的参数定义(可选)。

MIT Licensed