Skip to content

Converse API toolConfig -> toolname length increase #7287

@chezsmithy

Description

@chezsmithy

Describe the feature

It appears Anthropic has increased the default toolname to 128 characters in their API but the converse API is still holding this length to 64 characters. For compatibility could this be aligned? anthropics/claude-code#2579

Use Case

We are finding inconsistencies between claude code expectations on toolname length resulting in errors when moving tools from anthropic APIs to AWS Converse APIs. Need to standardize on the new tool name length.

Proposed Solution

Expand the toolname to 128 characters and perhaps also customize it so the toolname length guardrails are configured depending on the model as well. It's possible anthropic might support 128 characters but nova pro might only support 64.

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

SDK version used

v3

Environment details (OS name and version, etc.)

MacOS Latest

Metadata

Metadata

Assignees

Labels

closed-for-stalenessfeature-requestNew feature or enhancement. May require GitHub community feedback.p3This is a minor priority issueresponse-requestedWaiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.service-apiThis issue is due to a problem in a service API, not the SDK implementation.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions