콘텐츠로 이동

ToolOptions

이 콘텐츠는 아직 번역되지 않았습니다.

type ToolOptions<TParameters, Context> =
| StrictToolOptions<Extract<TParameters, ToolInputParametersStrict>, Context>
| NonStrictToolOptions<Extract<TParameters, ToolInputParametersNonStrict>, Context>;

The options for a tool.

Type Parameter Default type Description

TParameters extends ToolInputParameters

The parameters of the tool

Context

UnknownContext

The context of the tool