between_tools型が thinking 制御の柔軟性を上げた、Sonnet 5.5 対応完了
Anthropic Python SDK v1.9.0リリース、between_tools思考型やSonnet 5.5対応
原題: anthropics/anthropic-sdk-python: v1.9.0
重要度の根拠: マイナーバージョン更新で新モデル対応と新思考型の追加だが、既存ユーザーへの破壊的変更はなし
要約
Anthropic が Python SDK v1.9.0 をリリースしました。主な追加機能は、ツール呼び出し前の推論処理を制御する「between_tools」思考型、新モデル Claude Sonnet 5.5 への対応、ワークスペースレート制限に include_inherited と source パラメータの追加です。また、キャッシュ診断機能が GA となり、ストリーミング中のツール実行が可能になるなど、開発体験の向上に注力しています。ファイルアップロード処理の修正やドキュメント整備も含まれています。
要点
- between_tools思考型でツール呼び出し前の推論を制御可能に
- Claude Sonnet 5.5 モデルを新規追加
- キャッシュ診断機能が GA、Message API で完全統合
- ストリーミング中のツール実行が可能に
- ドキュメント整備とパーサーからベータヘッダー削除
開発者向け技術解説(API・実装詳細・破壊的変更)を見る
SDK v1.9.0 は以下の技術改善を含みます:(1) between_tools 思考型を api に追加し、ツール選択フェーズの推論制御が可能に(fallback 時は disabled に自動降級)、(2) claude-sonnet-5-5 モデルを列挙型に追加、(3) Workspace rate limits API に include_inherited と source フィールドを追加、(4) Managed Agents のイベントリスト filter に typed event type values を追加、(5) キャッシュ診断が Message / MessageCreateParams で GA(stream() と parse() で受け入れ対応)、(6) tools ヘルパーでストリーミング中にツール実行が可能(#26d08121)、(7) 無名ファイルアップロード時にプレースホルダーファイル名を送出しない修正(#9e9709d)。parse/tool-runner から beta ヘッダー送出を廃止。
本文の日本語訳(全文)を見る
## 1.9.0 (2026年9月28日)
完全な変更ログ: [v1.8.0...v1.9.0](https://github.com/anthropics/anthropic-sdk-python/compare/v1.8.0...v1.9.0)
### 機能
* **api:** between_tools 思考型を追加 ([a9a577d](https://github.com/anthropics/anthropic-sdk-python/commit/a9a577d5a98cb2e133c1f8362f69fff856808da1))
* **api:** claude-sonnet-5-5 を追加 ([a5a25e9](https://github.com/anthropics/anthropic-sdk-python/commit/a5a25e9e35ac32f100149d1dfa0fbf8cac42a8b4))
* **api:** ワークスペースレート制限に include_inherited と source を追加 ([0bf4af8](https://github.com/anthropics/anthropic-sdk-python/commit/0bf4af824331c424a03d9f486de2f53a656d3bba))
* **api:** Managed Agents イベントリスト filter に typed event type values を追加 ([1b82cd9](https://github.com/anthropics/anthropic-sdk-python/commit/1b82cd91ddd0874fb59a020fabc76618cb036ced))
* **api:** キャッシュ診断 GA — Message / MessageCreateParams 上の診断機能 ([22062b8](https://github.com/anthropics/anthropic-sdk-python/commit/22062b8fd130d3f90159845c1bde444ba1887f37))
* **tools:** オプションでリプライのストリーミング中にツール呼び出しを実行 ([26d0812](https://github.com/anthropics/anthropic-sdk-python/commit/26d08121bc80427665834f1b3fe767f813b4e4a4))
### バグ修正
* **client:** 無名ファイルアップロードのプレースホルダーファイル名を送出しない ([9e9709d](https://github.com/anthropics/anthropic-sdk-python/commit/9e9709d7dc4202953a1935e8930b0f0fd80fa8b6))
* **helpers:** fallback ホップ時に between_tools 思考型を disabled に自動降級 ([#952](https://github.com/anthropics/anthropic-sdk-python/issues/952)) ([a3834d4](https://github.com/anthropics/anthropic-sdk-python/commit/a3834d4cd849bc6a01a2bf4e292c5cd3893e1ca9))
* **messages:** stream() と parse() でキャッシュ診断を受け入れ可能に ([#929](https://github.com/anthropics/anthropic-sdk-python/issues/929)) ([fad840c](https://github.com/anthropics/anthropic-sdk-python/commit/fad840c2eeea413df35df8f79d41b92922c8ee89))
### その他の変更
* **api:** Model types で既知のモデル ID をリストの先頭に表示 ([e5a082a](https://github.com/anthropics/anthropic-sdk-python/commit/e5a082a709950d2cbcc8add3351172942bcfaee5))
* **ci:** リポジトリ別に CI ランナーを選択 ([39ccf62](https://github.com/anthropics/anthropic-sdk-python/commit/39ccf62b127348f5ac8f3a78e6c1896aaa7cb746))
* **client:** parse と tool runner からベータヘッダーの送出を廃止 ([#907](https://github.com/anthropics/anthropic-sdk-python/issues/907)) ([1428100](https://github.com/anthropics/anthropic-sdk-python/commit/142810093d685841e6058b8c6cf61e4c449fc2a1))
* **docs:** stream: true が raw event stream を返すことを明確化 ([82918fa](https://github.com/anthropics/anthropic-sdk-python/commit/82918fa9eb24d9d6bc63dcba23f9db396f4fd769))
* **docs:** Managed Agents アクター説明をリソース中立的に ([34ef524](https://github.com/anthropics/anthropic-sdk-python/commit/34ef5243ca062d7878f4c673503c57c84dfdbaa2))
* **docs:** Dream type 上の research-preview 通知を復元 ([f03e32e](https://github.com/anthropics/anthropic-sdk-python/commit/f03e32e0d5e5a8df05f5966e0fcba0fd23845a00))
### ドキュメント
* CLAUDE.md にフィールドドキュメント間隔ルールを追加 ([e5c35f4](https://github.com/anthropics/anthropic-sdk-python/commit/e5c35f4a70c38289286e16fe3d5e4ef0d3a3731a))
* **api:** 共有型の説明より各フィールドの説明を優先 ([d79a2e7](https://github.com/anthropics/anthropic-sdk-python/commit/d79a2e75c2b36f3620c6eb2c646de827da80b9d1))
* **claude.md:** 関数本体間隔ルールを追加 ([3174f8f](https://github.com/anthropics/anthropic-sdk-python/commit/3174f8f4215edefa2dfe5d895ae003c292c5dd2a))
* インポート可能な型名を api.md にリスト化 ([56a42ab](https://github.com/anthropics/anthropic-sdk-python/commit/56a42ab6ecca901939d41f1604bd98c162d52def))
出典: https://github.com/anthropics/anthropic-sdk-python/releases/tag/v1.9.0
媒体: SDK (anthropic-sdk-python)
※本記事は Anthropic / Claude 関連の公開情報を基に AI (OpenAI GPT-4o-mini) が日本語で要約・分類した二次的著作物です。著作権法第32条の引用要件に基づき出典 URL を必ず併記しています。要約は AI 生成のため誤訳・誤解釈を含む可能性があります。詳細・正確な情報は必ず出典元の原文をご確認ください。