ToolOptions
此内容尚不支持你的语言。
type ToolOptions<TParameters, Context> = | StrictToolOptions<Extract<TParameters, ToolInputParametersStrict>, Context>| NonStrictToolOptions<Extract<TParameters, ToolInputParametersNonStrict>, Context>;The options for a tool.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type | Description |
|---|---|---|
|
|
‐ |
The parameters of the tool |
|
|
The context of the tool |