settings.json

modelPicker

object記述場所ユーザー設定または管理者設定

/model ピッカーが提供するモデルリストを、順序付けられたラベル付きのカスタムリストで置換または追加します。

既定値: unset, so the picker shows the built-in lineup

記述例

{
  "modelPicker": {
    "options": [
      { "model": "us.anthropic.claude-opus-4-8", "label": "Opus (production)" },
      {
        "model": "us.anthropic.claude-sonnet-4-6",
        "label": "Sonnet (production)",
        "description": "Day-to-day work"
      }
    ]
  }
}

使い方・用途

  • デフォルト値は未設定(組み込みリストが表示されます)
  • v2.1.242 以降で利用可能
  • Vertex/Bedrock ID を含む任意の ID 表記を組み込みリストに追加または置換できます
  • 管理設定で優先されます
英語原文(公式ドキュメントより)

List the models the /model picker offers, in the order you write them and under labels you choose, so the picker lists the models your organization runs, after the built-in lineup or instead of it. Each row's model is taken verbatim, so it accepts anything --model accepts: an alias such as opus, an Anthropic model ID, or a provider-format ID for Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry, or an LLM gateway. Requires Claude Code v2.1.242 or later.

関連する変更履歴

v2.1.243(1件)

Added
modelPicker 設定を追加しました: /model ピッカーを、順序付けられたラベル付きのモデルリストでカスタマイズできます。これにより、Vertex/Bedrock ID を含む任意の ID 表記を組み込みリストに追加または置換できます
英語原文を表示
Added modelPicker setting: curate the /model picker with an ordered, labeled list of models (any id spelling, including Vertex/Bedrock ids), appended to or replacing the built-in lineup

変更前

以前は /model コマンドで表示されるモデルリストが固定されており、カスタマイズできませんでした

変更後

現在は modelPicker 設定を使用して、任意のモデル ID(Vertex/Bedrock ID を含む)を含む順序付けられたラベル付きリストで /model ピッカーをカスタマイズできます

ユーザーへの恩恵

開発者は組織のニーズに合わせて /model ピッカーのモデルリストを柔軟に管理できるようになります

v2.1.153(1件)

Changed
キーバインド設定で modelPicker:setAsDefault をカスタマイズしていた場合、modelPicker:thisSessionOnly への書き換えが必要です(d アクションが s に置き換わったため)
英語原文を表示
If you customized the modelPicker:setAsDefault keybinding, rename it to modelPicker:thisSessionOnly in keybindings.json (the d action was replaced by s)

変更前

挙動の変更に伴い、古いキーバインド設定のままだと意図したショートカットが動作しなくなる可能性がありました。

変更後

最新の機能割り当てに合わせた設定名に変更することで、引き続き自分好みの操作体系を維持できます。

ユーザーへの恩恵

内部的な仕様変更を把握でき、スムーズに新バージョンへ移行できます。

関連ドキュメント