AWS nova documentation change
Summary
Updated toolChoice support to only allow 'auto' option and removed toolChoice configuration example
Security assessment
Change limits functionality but contains no explicit security context or vulnerability references
Diff
diff --git a/nova/latest/userguide/tool-use-definition.md b/nova/latest/userguide/tool-use-definition.md index b4dce1caf..516c16c41 100644 --- a/nova/latest/userguide/tool-use-definition.md +++ b/nova/latest/userguide/tool-use-definition.md @@ -13 +13 @@ To define a tool, you create a tool configuration that is passed along with the -Amazon Nova supports the `auto`, `any`, and `tool` options for `toolChoice`. For more information, see [ToolChoice](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ToolChoice.html) in the Amazon Bedrock API documentation and [Use a tool to complete an Amazon Bedrock model response](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html). +Amazon Nova currently only supports the `auto` option for `toolChoice`, which is the default. Trying to set `any` or specific tool names will cause a validation error. @@ -40,6 +40 @@ Here is an example of how to define a tool: - ], - "toolChoice": { - "tool": { - "name": "top_song" - } - } + ]