Skip to content

Commit 54d01f5

Browse files
feat(api): manual updates
Makes new tool versions available as top level tool types: - WebSearchTool_20260209 - WebFetchTool_20260209 - ServerToolCaller_20260120 - CodeExecutionTool_20260120 Enables new code execution version `code_execution_20260120` as an 'allowed_caller'.
1 parent 5d85772 commit 54d01f5

4 files changed

Lines changed: 343 additions & 590 deletions

File tree

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 34
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic%2Fanthropic-6924f88807cb0cad6fcffa77da1c9263ce48d5f7db632dfc842773e3bb1f17e4.yml
3-
openapi_spec_hash: 9cec3bf2e3ee3dbad7447c26c5e579ae
4-
config_hash: 409a17b0a2807d809e958c50c09f9665
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic%2Fanthropic-5387c517ad6a3b9790063962c2956476b24a17d163c68c8d091367f6db8cf4ed.yml
3+
openapi_spec_hash: 13d3d0a8e62a955b8b4df99c18d387d0
4+
config_hash: 4f1b01a1e5768795f83a32fb65c24c06

api.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Params Types:
3434
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#CodeExecutionResultBlockParam">CodeExecutionResultBlockParam</a>
3535
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#CodeExecutionTool20250522Param">CodeExecutionTool20250522Param</a>
3636
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#CodeExecutionTool20250825Param">CodeExecutionTool20250825Param</a>
37+
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#CodeExecutionTool20260120Param">CodeExecutionTool20260120Param</a>
3738
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#CodeExecutionToolResultBlockParam">CodeExecutionToolResultBlockParam</a>
3839
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#CodeExecutionToolResultBlockParamContentUnion">CodeExecutionToolResultBlockParamContentUnion</a>
3940
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#CodeExecutionToolResultErrorCode">CodeExecutionToolResultErrorCode</a>
@@ -57,6 +58,7 @@ Params Types:
5758
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#RedactedThinkingBlockParam">RedactedThinkingBlockParam</a>
5859
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#SearchResultBlockParam">SearchResultBlockParam</a>
5960
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#ServerToolCallerParam">ServerToolCallerParam</a>
61+
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#ServerToolCaller20260120Param">ServerToolCaller20260120Param</a>
6062
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#ServerToolUseBlockParam">ServerToolUseBlockParam</a>
6163
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#TextBlockParam">TextBlockParam</a>
6264
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#TextCitationParamUnion">TextCitationParamUnion</a>
@@ -95,11 +97,13 @@ Params Types:
9597
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#URLPDFSourceParam">URLPDFSourceParam</a>
9698
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#WebFetchBlockParam">WebFetchBlockParam</a>
9799
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#WebFetchTool20250910Param">WebFetchTool20250910Param</a>
100+
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#WebFetchTool20260209Param">WebFetchTool20260209Param</a>
98101
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#WebFetchToolResultBlockParam">WebFetchToolResultBlockParam</a>
99102
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#WebFetchToolResultErrorBlockParam">WebFetchToolResultErrorBlockParam</a>
100103
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#WebFetchToolResultErrorCode">WebFetchToolResultErrorCode</a>
101104
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#WebSearchResultBlockParam">WebSearchResultBlockParam</a>
102105
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#WebSearchTool20250305Param">WebSearchTool20250305Param</a>
106+
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#WebSearchTool20260209Param">WebSearchTool20260209Param</a>
103107
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#WebSearchToolRequestErrorParam">WebSearchToolRequestErrorParam</a>
104108
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#WebSearchToolResultBlockParam">WebSearchToolResultBlockParam</a>
105109
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#WebSearchToolResultBlockParamContentUnion">WebSearchToolResultBlockParamContentUnion</a>
@@ -148,6 +152,7 @@ Response Types:
148152
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#MessageStreamEventUnion">MessageStreamEventUnion</a>
149153
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#RedactedThinkingBlock">RedactedThinkingBlock</a>
150154
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#ServerToolCaller">ServerToolCaller</a>
155+
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#ServerToolCaller20260120">ServerToolCaller20260120</a>
151156
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#ServerToolUsage">ServerToolUsage</a>
152157
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#ServerToolUseBlock">ServerToolUseBlock</a>
153158
- <a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go">anthropic</a>.<a href="https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go#SignatureDelta">SignatureDelta</a>

betamessage.go

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1531,7 +1531,7 @@ type BetaCodeExecutionTool20250522Param struct {
15311531
DeferLoading param.Opt[bool] `json:"defer_loading,omitzero"`
15321532
// When true, guarantees schema validation on tool names and inputs
15331533
Strict param.Opt[bool] `json:"strict,omitzero"`
1534-
// Any of "direct", "code_execution_20250825".
1534+
// Any of "direct", "code_execution_20250825", "code_execution_20260120".
15351535
AllowedCallers []string `json:"allowed_callers,omitzero"`
15361536
// Create a cache control breakpoint at this content block.
15371537
CacheControl BetaCacheControlEphemeralParam `json:"cache_control,omitzero"`
@@ -1562,7 +1562,7 @@ type BetaCodeExecutionTool20250825Param struct {
15621562
DeferLoading param.Opt[bool] `json:"defer_loading,omitzero"`
15631563
// When true, guarantees schema validation on tool names and inputs
15641564
Strict param.Opt[bool] `json:"strict,omitzero"`
1565-
// Any of "direct", "code_execution_20250825".
1565+
// Any of "direct", "code_execution_20250825", "code_execution_20260120".
15661566
AllowedCallers []string `json:"allowed_callers,omitzero"`
15671567
// Create a cache control breakpoint at this content block.
15681568
CacheControl BetaCacheControlEphemeralParam `json:"cache_control,omitzero"`
@@ -1596,7 +1596,7 @@ type BetaCodeExecutionTool20260120Param struct {
15961596
DeferLoading param.Opt[bool] `json:"defer_loading,omitzero"`
15971597
// When true, guarantees schema validation on tool names and inputs
15981598
Strict param.Opt[bool] `json:"strict,omitzero"`
1599-
// Any of "direct", "code_execution_20250825".
1599+
// Any of "direct", "code_execution_20250825", "code_execution_20260120".
16001600
AllowedCallers []string `json:"allowed_callers,omitzero"`
16011601
// Create a cache control breakpoint at this content block.
16021602
CacheControl BetaCacheControlEphemeralParam `json:"cache_control,omitzero"`
@@ -4348,7 +4348,7 @@ type BetaMemoryTool20250818Param struct {
43484348
DeferLoading param.Opt[bool] `json:"defer_loading,omitzero"`
43494349
// When true, guarantees schema validation on tool names and inputs
43504350
Strict param.Opt[bool] `json:"strict,omitzero"`
4351-
// Any of "direct", "code_execution_20250825".
4351+
// Any of "direct", "code_execution_20250825", "code_execution_20260120".
43524352
AllowedCallers []string `json:"allowed_callers,omitzero"`
43534353
// Create a cache control breakpoint at this content block.
43544354
CacheControl BetaCacheControlEphemeralParam `json:"cache_control,omitzero"`
@@ -7574,7 +7574,7 @@ type BetaToolParam struct {
75747574
Strict param.Opt[bool] `json:"strict,omitzero"`
75757575
// Any of "custom".
75767576
Type BetaToolType `json:"type,omitzero"`
7577-
// Any of "direct", "code_execution_20250825".
7577+
// Any of "direct", "code_execution_20250825", "code_execution_20260120".
75787578
AllowedCallers []string `json:"allowed_callers,omitzero"`
75797579
// Create a cache control breakpoint at this content block.
75807580
CacheControl BetaCacheControlEphemeralParam `json:"cache_control,omitzero"`
@@ -7626,7 +7626,7 @@ type BetaToolBash20241022Param struct {
76267626
DeferLoading param.Opt[bool] `json:"defer_loading,omitzero"`
76277627
// When true, guarantees schema validation on tool names and inputs
76287628
Strict param.Opt[bool] `json:"strict,omitzero"`
7629-
// Any of "direct", "code_execution_20250825".
7629+
// Any of "direct", "code_execution_20250825", "code_execution_20260120".
76307630
AllowedCallers []string `json:"allowed_callers,omitzero"`
76317631
// Create a cache control breakpoint at this content block.
76327632
CacheControl BetaCacheControlEphemeralParam `json:"cache_control,omitzero"`
@@ -7657,7 +7657,7 @@ type BetaToolBash20250124Param struct {
76577657
DeferLoading param.Opt[bool] `json:"defer_loading,omitzero"`
76587658
// When true, guarantees schema validation on tool names and inputs
76597659
Strict param.Opt[bool] `json:"strict,omitzero"`
7660-
// Any of "direct", "code_execution_20250825".
7660+
// Any of "direct", "code_execution_20250825", "code_execution_20260120".
76617661
AllowedCallers []string `json:"allowed_callers,omitzero"`
76627662
// Create a cache control breakpoint at this content block.
76637663
CacheControl BetaCacheControlEphemeralParam `json:"cache_control,omitzero"`
@@ -7856,7 +7856,7 @@ type BetaToolComputerUse20241022Param struct {
78567856
DeferLoading param.Opt[bool] `json:"defer_loading,omitzero"`
78577857
// When true, guarantees schema validation on tool names and inputs
78587858
Strict param.Opt[bool] `json:"strict,omitzero"`
7859-
// Any of "direct", "code_execution_20250825".
7859+
// Any of "direct", "code_execution_20250825", "code_execution_20260120".
78607860
AllowedCallers []string `json:"allowed_callers,omitzero"`
78617861
// Create a cache control breakpoint at this content block.
78627862
CacheControl BetaCacheControlEphemeralParam `json:"cache_control,omitzero"`
@@ -7894,7 +7894,7 @@ type BetaToolComputerUse20250124Param struct {
78947894
DeferLoading param.Opt[bool] `json:"defer_loading,omitzero"`
78957895
// When true, guarantees schema validation on tool names and inputs
78967896
Strict param.Opt[bool] `json:"strict,omitzero"`
7897-
// Any of "direct", "code_execution_20250825".
7897+
// Any of "direct", "code_execution_20250825", "code_execution_20260120".
78987898
AllowedCallers []string `json:"allowed_callers,omitzero"`
78997899
// Create a cache control breakpoint at this content block.
79007900
CacheControl BetaCacheControlEphemeralParam `json:"cache_control,omitzero"`
@@ -7934,7 +7934,7 @@ type BetaToolComputerUse20251124Param struct {
79347934
EnableZoom param.Opt[bool] `json:"enable_zoom,omitzero"`
79357935
// When true, guarantees schema validation on tool names and inputs
79367936
Strict param.Opt[bool] `json:"strict,omitzero"`
7937-
// Any of "direct", "code_execution_20250825".
7937+
// Any of "direct", "code_execution_20250825", "code_execution_20260120".
79387938
AllowedCallers []string `json:"allowed_callers,omitzero"`
79397939
// Create a cache control breakpoint at this content block.
79407940
CacheControl BetaCacheControlEphemeralParam `json:"cache_control,omitzero"`
@@ -8277,7 +8277,7 @@ type BetaToolSearchToolBm25_20251119Param struct {
82778277
DeferLoading param.Opt[bool] `json:"defer_loading,omitzero"`
82788278
// When true, guarantees schema validation on tool names and inputs
82798279
Strict param.Opt[bool] `json:"strict,omitzero"`
8280-
// Any of "direct", "code_execution_20250825".
8280+
// Any of "direct", "code_execution_20250825", "code_execution_20260120".
82818281
AllowedCallers []string `json:"allowed_callers,omitzero"`
82828282
// Create a cache control breakpoint at this content block.
82838283
CacheControl BetaCacheControlEphemeralParam `json:"cache_control,omitzero"`
@@ -8316,7 +8316,7 @@ type BetaToolSearchToolRegex20251119Param struct {
83168316
DeferLoading param.Opt[bool] `json:"defer_loading,omitzero"`
83178317
// When true, guarantees schema validation on tool names and inputs
83188318
Strict param.Opt[bool] `json:"strict,omitzero"`
8319-
// Any of "direct", "code_execution_20250825".
8319+
// Any of "direct", "code_execution_20250825", "code_execution_20260120".
83208320
AllowedCallers []string `json:"allowed_callers,omitzero"`
83218321
// Create a cache control breakpoint at this content block.
83228322
CacheControl BetaCacheControlEphemeralParam `json:"cache_control,omitzero"`
@@ -8576,7 +8576,7 @@ type BetaToolTextEditor20241022Param struct {
85768576
DeferLoading param.Opt[bool] `json:"defer_loading,omitzero"`
85778577
// When true, guarantees schema validation on tool names and inputs
85788578
Strict param.Opt[bool] `json:"strict,omitzero"`
8579-
// Any of "direct", "code_execution_20250825".
8579+
// Any of "direct", "code_execution_20250825", "code_execution_20260120".
85808580
AllowedCallers []string `json:"allowed_callers,omitzero"`
85818581
// Create a cache control breakpoint at this content block.
85828582
CacheControl BetaCacheControlEphemeralParam `json:"cache_control,omitzero"`
@@ -8609,7 +8609,7 @@ type BetaToolTextEditor20250124Param struct {
86098609
DeferLoading param.Opt[bool] `json:"defer_loading,omitzero"`
86108610
// When true, guarantees schema validation on tool names and inputs
86118611
Strict param.Opt[bool] `json:"strict,omitzero"`
8612-
// Any of "direct", "code_execution_20250825".
8612+
// Any of "direct", "code_execution_20250825", "code_execution_20260120".
86138613
AllowedCallers []string `json:"allowed_callers,omitzero"`
86148614
// Create a cache control breakpoint at this content block.
86158615
CacheControl BetaCacheControlEphemeralParam `json:"cache_control,omitzero"`
@@ -8642,7 +8642,7 @@ type BetaToolTextEditor20250429Param struct {
86428642
DeferLoading param.Opt[bool] `json:"defer_loading,omitzero"`
86438643
// When true, guarantees schema validation on tool names and inputs
86448644
Strict param.Opt[bool] `json:"strict,omitzero"`
8645-
// Any of "direct", "code_execution_20250825".
8645+
// Any of "direct", "code_execution_20250825", "code_execution_20260120".
86468646
AllowedCallers []string `json:"allowed_callers,omitzero"`
86478647
// Create a cache control breakpoint at this content block.
86488648
CacheControl BetaCacheControlEphemeralParam `json:"cache_control,omitzero"`
@@ -8678,7 +8678,7 @@ type BetaToolTextEditor20250728Param struct {
86788678
DeferLoading param.Opt[bool] `json:"defer_loading,omitzero"`
86798679
// When true, guarantees schema validation on tool names and inputs
86808680
Strict param.Opt[bool] `json:"strict,omitzero"`
8681-
// Any of "direct", "code_execution_20250825".
8681+
// Any of "direct", "code_execution_20250825", "code_execution_20260120".
86828682
AllowedCallers []string `json:"allowed_callers,omitzero"`
86838683
// Create a cache control breakpoint at this content block.
86848684
CacheControl BetaCacheControlEphemeralParam `json:"cache_control,omitzero"`
@@ -9734,7 +9734,7 @@ type BetaWebFetchTool20250910Param struct {
97349734
AllowedDomains []string `json:"allowed_domains,omitzero"`
97359735
// List of domains to block fetching from
97369736
BlockedDomains []string `json:"blocked_domains,omitzero"`
9737-
// Any of "direct", "code_execution_20250825".
9737+
// Any of "direct", "code_execution_20250825", "code_execution_20260120".
97389738
AllowedCallers []string `json:"allowed_callers,omitzero"`
97399739
// Create a cache control breakpoint at this content block.
97409740
CacheControl BetaCacheControlEphemeralParam `json:"cache_control,omitzero"`
@@ -9777,7 +9777,7 @@ type BetaWebFetchTool20260209Param struct {
97779777
AllowedDomains []string `json:"allowed_domains,omitzero"`
97789778
// List of domains to block fetching from
97799779
BlockedDomains []string `json:"blocked_domains,omitzero"`
9780-
// Any of "direct", "code_execution_20250825".
9780+
// Any of "direct", "code_execution_20250825", "code_execution_20260120".
97819781
AllowedCallers []string `json:"allowed_callers,omitzero"`
97829782
// Create a cache control breakpoint at this content block.
97839783
CacheControl BetaCacheControlEphemeralParam `json:"cache_control,omitzero"`
@@ -10202,7 +10202,7 @@ type BetaWebSearchTool20250305Param struct {
1020210202
// If provided, these domains will never appear in results. Cannot be used
1020310203
// alongside `allowed_domains`.
1020410204
BlockedDomains []string `json:"blocked_domains,omitzero"`
10205-
// Any of "direct", "code_execution_20250825".
10205+
// Any of "direct", "code_execution_20250825", "code_execution_20260120".
1020610206
AllowedCallers []string `json:"allowed_callers,omitzero"`
1020710207
// Create a cache control breakpoint at this content block.
1020810208
CacheControl BetaCacheControlEphemeralParam `json:"cache_control,omitzero"`
@@ -10244,7 +10244,7 @@ type BetaWebSearchTool20260209Param struct {
1024410244
// If provided, these domains will never appear in results. Cannot be used
1024510245
// alongside `allowed_domains`.
1024610246
BlockedDomains []string `json:"blocked_domains,omitzero"`
10247-
// Any of "direct", "code_execution_20250825".
10247+
// Any of "direct", "code_execution_20250825", "code_execution_20260120".
1024810248
AllowedCallers []string `json:"allowed_callers,omitzero"`
1024910249
// Create a cache control breakpoint at this content block.
1025010250
CacheControl BetaCacheControlEphemeralParam `json:"cache_control,omitzero"`

0 commit comments

Comments
 (0)