Skip to content

Commit acc4720

Browse files
release: 0.81.0 (#1182)
* 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'. * release: 0.81.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 4de03c2 commit acc4720

File tree

54 files changed

+299
-428
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+299
-428
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.80.0"
2+
".": "0.81.0"
33
}

.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

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 0.81.0 (2026-02-18)
4+
5+
Full Changelog: [v0.80.0...v0.81.0](https://github.com/anthropics/anthropic-sdk-python/compare/v0.80.0...v0.81.0)
6+
7+
### Features
8+
9+
* **api:** manual updates ([0a385c2](https://github.com/anthropics/anthropic-sdk-python/commit/0a385c29d26981f846b7394aefc89eebb43a4b60))
10+
311
## 0.80.0 (2026-02-17)
412

513
Full Changelog: [v0.79.0...v0.80.0](https://github.com/anthropics/anthropic-sdk-python/compare/v0.79.0...v0.80.0)

api.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ from anthropic.types import (
5454
CodeExecutionResultBlockParam,
5555
CodeExecutionTool20250522,
5656
CodeExecutionTool20250825,
57+
CodeExecutionTool20260120,
5758
CodeExecutionToolResultBlock,
5859
CodeExecutionToolResultBlockContent,
5960
CodeExecutionToolResultBlockParam,
@@ -98,6 +99,7 @@ from anthropic.types import (
9899
RedactedThinkingBlockParam,
99100
SearchResultBlockParam,
100101
ServerToolCaller,
102+
ServerToolCaller20260120,
101103
ServerToolUsage,
102104
ServerToolUseBlock,
103105
ServerToolUseBlockParam,
@@ -157,6 +159,7 @@ from anthropic.types import (
157159
WebFetchBlock,
158160
WebFetchBlockParam,
159161
WebFetchTool20250910,
162+
WebFetchTool20260209,
160163
WebFetchToolResultBlock,
161164
WebFetchToolResultBlockParam,
162165
WebFetchToolResultErrorBlock,
@@ -165,6 +168,7 @@ from anthropic.types import (
165168
WebSearchResultBlock,
166169
WebSearchResultBlockParam,
167170
WebSearchTool20250305,
171+
WebSearchTool20260209,
168172
WebSearchToolRequestError,
169173
WebSearchToolResultBlock,
170174
WebSearchToolResultBlockContent,

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "anthropic"
3-
version = "0.80.0"
3+
version = "0.81.0"
44
description = "The official Python library for the anthropic API"
55
dynamic = ["readme"]
66
license = "MIT"

src/anthropic/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "anthropic"
4-
__version__ = "0.80.0" # x-release-please-version
4+
__version__ = "0.81.0" # x-release-please-version

src/anthropic/types/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@
120120
from .code_execution_output_block import CodeExecutionOutputBlock as CodeExecutionOutputBlock
121121
from .code_execution_result_block import CodeExecutionResultBlock as CodeExecutionResultBlock
122122
from .message_count_tokens_params import MessageCountTokensParams as MessageCountTokensParams
123+
from .server_tool_caller_20260120 import ServerToolCaller20260120 as ServerToolCaller20260120
123124
from .server_tool_use_block_param import ServerToolUseBlockParam as ServerToolUseBlockParam
124125
from .web_fetch_tool_result_block import WebFetchToolResultBlock as WebFetchToolResultBlock
125126
from .citation_char_location_param import CitationCharLocationParam as CitationCharLocationParam
@@ -136,10 +137,12 @@
136137
from .tool_search_tool_result_block import ToolSearchToolResultBlock as ToolSearchToolResultBlock
137138
from .tool_search_tool_result_error import ToolSearchToolResultError as ToolSearchToolResultError
138139
from .web_fetch_tool_20250910_param import WebFetchTool20250910Param as WebFetchTool20250910Param
140+
from .web_fetch_tool_20260209_param import WebFetchTool20260209Param as WebFetchTool20260209Param
139141
from .web_search_result_block_param import WebSearchResultBlockParam as WebSearchResultBlockParam
140142
from .thinking_config_adaptive_param import ThinkingConfigAdaptiveParam as ThinkingConfigAdaptiveParam
141143
from .thinking_config_disabled_param import ThinkingConfigDisabledParam as ThinkingConfigDisabledParam
142144
from .web_search_tool_20250305_param import WebSearchTool20250305Param as WebSearchTool20250305Param
145+
from .web_search_tool_20260209_param import WebSearchTool20260209Param as WebSearchTool20260209Param
143146
from .citation_content_block_location import CitationContentBlockLocation as CitationContentBlockLocation
144147
from .message_count_tokens_tool_param import MessageCountTokensToolParam as MessageCountTokensToolParam
145148
from .tool_text_editor_20250124_param import ToolTextEditor20250124Param as ToolTextEditor20250124Param
@@ -153,10 +156,12 @@
153156
from .web_fetch_tool_result_error_code import WebFetchToolResultErrorCode as WebFetchToolResultErrorCode
154157
from .code_execution_output_block_param import CodeExecutionOutputBlockParam as CodeExecutionOutputBlockParam
155158
from .code_execution_result_block_param import CodeExecutionResultBlockParam as CodeExecutionResultBlockParam
159+
from .server_tool_caller_20260120_param import ServerToolCaller20260120Param as ServerToolCaller20260120Param
156160
from .web_fetch_tool_result_block_param import WebFetchToolResultBlockParam as WebFetchToolResultBlockParam
157161
from .web_fetch_tool_result_error_block import WebFetchToolResultErrorBlock as WebFetchToolResultErrorBlock
158162
from .code_execution_tool_20250522_param import CodeExecutionTool20250522Param as CodeExecutionTool20250522Param
159163
from .code_execution_tool_20250825_param import CodeExecutionTool20250825Param as CodeExecutionTool20250825Param
164+
from .code_execution_tool_20260120_param import CodeExecutionTool20260120Param as CodeExecutionTool20260120Param
160165
from .content_block_source_content_param import ContentBlockSourceContentParam as ContentBlockSourceContentParam
161166
from .tool_search_tool_result_error_code import ToolSearchToolResultErrorCode as ToolSearchToolResultErrorCode
162167
from .web_search_tool_result_block_param import WebSearchToolResultBlockParam as WebSearchToolResultBlockParam

src/anthropic/types/beta/beta_code_execution_tool_20250522_param.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class BetaCodeExecutionTool20250522Param(TypedDict, total=False):
1919

2020
type: Required[Literal["code_execution_20250522"]]
2121

22-
allowed_callers: List[Literal["direct", "code_execution_20250825"]]
22+
allowed_callers: List[Literal["direct", "code_execution_20250825", "code_execution_20260120"]]
2323

2424
cache_control: Optional[BetaCacheControlEphemeralParam]
2525
"""Create a cache control breakpoint at this content block."""

src/anthropic/types/beta/beta_code_execution_tool_20250825_param.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class BetaCodeExecutionTool20250825Param(TypedDict, total=False):
1919

2020
type: Required[Literal["code_execution_20250825"]]
2121

22-
allowed_callers: List[Literal["direct", "code_execution_20250825"]]
22+
allowed_callers: List[Literal["direct", "code_execution_20250825", "code_execution_20260120"]]
2323

2424
cache_control: Optional[BetaCacheControlEphemeralParam]
2525
"""Create a cache control breakpoint at this content block."""

src/anthropic/types/beta/beta_code_execution_tool_20260120_param.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class BetaCodeExecutionTool20260120Param(TypedDict, total=False):
2323

2424
type: Required[Literal["code_execution_20260120"]]
2525

26-
allowed_callers: List[Literal["direct", "code_execution_20250825"]]
26+
allowed_callers: List[Literal["direct", "code_execution_20250825", "code_execution_20260120"]]
2727

2828
cache_control: Optional[BetaCacheControlEphemeralParam]
2929
"""Create a cache control breakpoint at this content block."""

0 commit comments

Comments
 (0)