diff --git a/src/providers/bedrock/types.ts b/src/providers/bedrock/types.ts index 051f1335d..78c2ad2e1 100644 --- a/src/providers/bedrock/types.ts +++ b/src/providers/bedrock/types.ts @@ -137,6 +137,39 @@ export type BedrockContentItem = { name: string; input: object; }; + toolResult?: { + content: any; + toolUseId: string; + status: 'success' | 'error'; + }; + citationsContent?: { + citations?: { + location?: { + documentChar?: { + documentIndex: number; + end: number; + start: number; + }; + documentChunk?: { + documentIndex: number; + end: number; + start: number; + }; + documentPage?: { + documentIndex: number; + end: number; + start: number; + }; + }; + sourceContent?: { + text?: string; + }[]; + title?: string; + }[]; + content?: { + text?: string; + }[]; + }; reasoningContent?: { reasoningText?: { signature: string;