Skip to content

Commit d67f287

Browse files
fix(api): add string to tool result block (#448)
1 parent e21df2d commit d67f287

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 2
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic-70873642f89316fbc45ceaccd3583971d0eb59d433f7864ca2fa8c321a320b4c.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic-ce067ae8303fa9b7aae2e8ebf0b6e9e41509f169ba93c1807e6ed9c9e541be1a.yml

src/resources/messages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ export interface ToolResultBlockParam {
332332

333333
type: 'tool_result';
334334

335-
content?: Array<TextBlockParam | ImageBlockParam>;
335+
content?: string | Array<TextBlockParam | ImageBlockParam>;
336336

337337
is_error?: boolean;
338338
}

0 commit comments

Comments
 (0)