Skip to content
1 min read · 66 words

Variable: defaultSanitizeToolUseId

ts
const defaultSanitizeToolUseId: (id: string) => string = sanitizeToolUseId;

Defined in: src/batteries/llm/bedrock_converse/helpers.ts:154

Default implementation; alias of sanitizeToolUseId.

Converse rejects a toolUseId outside [A-Za-z0-9_-]{1,64}.

Parameters

ParameterType
idstring

Returns

string

Remarks

ADK ids are UUIDv6, which is already in-charset, but a caller-supplied id may not be — and the rejection names neither the field nor the offending character.