ToolOptions
이 콘텐츠는 아직 번역되지 않았습니다.
type ToolOptions<TParameters, Context, TOutputSchema> = | StrictToolOptions<Extract<TParameters, ToolInputParametersStrict>, Context, TOutputSchema>| NonStrictToolOptions<Extract<TParameters, ToolInputParametersNonStrict>, Context, TOutputSchema>;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 |
|
|
|
|
‐ |