{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["platform-badges","admonition","img"]},"type":"markdown"},"seo":{"title":"エージェントチャネルのチャットが到達できる範囲","description":"エージェントチャネル経由で作られた Treasure AI Studio のチャットが何を読み書きできるのか、呼び出し側が何を送れるのか、どの制限とクレジットが適用されるのかを解説します。","siteUrl":"https://docs.treasure.ai","image":"/assets/treasure-ai-social-preview.e6fefb35676f6da91c2d1bc783bd39e618e7af2b1ad3aa52a96ae69d72e700fe.b1bff462.png","lang":"en-US","jsonLd":{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.treasure.ai/","name":"Treasure AI","url":"https://www.treasure.ai/","logo":"https://www.treasure.ai/hubfs/assets/images/logos/primary-logo.svg"},{"@type":"WebSite","@id":"https://docs.treasure.ai/#website","name":"Treasure AI Documentation","url":"https://docs.treasure.ai/","inLanguage":["en","ja"],"publisher":{"@id":"https://www.treasure.ai/"}}]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"エージェントチャネルのチャットが到達できる範囲","__idx":0},"children":["エージェントチャネルのチャットが到達できる範囲"]},{"$$mdtype":"Tag","name":"PlatformBadges","attributes":{"platforms":["Web","Desktop"]},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["実行者として動く",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/agent-channels"},"children":["エージェントチャネル"]}," 経由で作られたチャットは、2点を除けば通常の Treasure AI Studio のチャットです。1つは、作業領域がチャットごとに破棄され、参照できるのは共有作業フォルダ1つだけで、それも読み取り専用であること。もう1つは、外部から送れる指示が短く固定されていることです。SDK App では「プロンプトを送る」と「停止する」の2つ、MCP エンドポイントでは6つの MCP ツールだけです。そのチャットでは、それ以外 — ツール、コネクション、クレジット — はすべて実行者のもので、実行者が自分でチャットを始めた場合とまったく同じです。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["自社で管理していないユーザーが使うアプリケーションにチャネルを開放する前や、MCP エンドポイントのトークンをチームに渡す前に、このページを読んでください。境界の両面を説明します。チャネルのチャットが",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["できないこと"]},"と、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["制限されていないこと"]},"の両方です。"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"このページは実行者として動くチャネルを対象としています"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下の内容は、SDK App と静的トークン方式の MCP エンドポイントに当てはまります。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/agent-channels/mcp-oauth"},"children":["OAuth 方式の MCP エンドポイント"]},"から開始したチャットは異なり、接続した本人の通常の Studio チャットです。本人の作業フォルダ、ホームディレクトリ、権限をそのまま使い、本人のチャットと同じようにファイルを変更できます。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/agent-channels/mcp-oauth#%E3%83%81%E3%83%A3%E3%83%83%E3%83%88%E3%81%AF%E6%9C%AC%E4%BA%BA%E3%81%AE%E9%80%9A%E5%B8%B8%E3%81%AE-studio-%E3%83%81%E3%83%A3%E3%83%83%E3%83%88"},"children":["チャットは本人の通常の Studio チャット"]},"を参照してください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/agent-channels/slack-bots"},"children":["Slack bot"]}," から始まったチャットは、また別の動き方をします。連携した Slack アカウントの本人として動き、割り当てた1つの共有作業フォルダを読み取り専用で参照し、書き込めるのは自分専用の作業領域だけです。実行者のチャットではなく、実行者のクレジットも使いません。詳しくは",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/agent-channels/slack-chat#%E3%83%81%E3%83%A3%E3%83%83%E3%83%88%E3%81%8C%E5%88%B0%E9%81%94%E3%81%A7%E3%81%8D%E3%82%8B%E7%AF%84%E5%9B%B2"},"children":["Slack bot を Slack から使う"]},"を参照してください。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"作業領域は共有作業フォルダ1つ読み取り専用チャットごとに破棄","__idx":1},"children":["作業領域は共有作業フォルダ1つ、読み取り専用、チャットごとに破棄"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["チャネルのチャットは、チャネルの共有作業フォルダの中で作業します。エージェントはその中のすべてのファイルを読めますが、どれも変更できません。あわせて、作業中に作るファイルを置くための書き込み可能な領域が用意されます。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"width":"32%","data-label":"対象"},"children":["対象 "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"68%","data-label":"チャネルのチャットでの扱い"},"children":["チャネルのチャットでの扱い "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["共有作業フォルダ"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["読み取り専用。メンバーが Treasure AI Studio 経由で置いたファイルはエージェントから見えますが、エージェントの操作でそれらが変わることはありません"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["一時領域"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["チャットの作業領域内にある書き込み可能な領域。チャットとともに作られ、チャットが破棄されるときに削除されます。ここに書いたものは次のチャットには引き継がれません"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["実行者の他の作業フォルダ"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["参照できません。チャネルのチャットが到達するフォルダは1つだけです"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["実行者のホームディレクトリ"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["参照できません。実行者の保存されたメモリ、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["~/"]}," 配下のファイル、Studio でのチャットの記録は作業領域に存在しません"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["プラグイン"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["実行者自身のチャットと同じように読み込まれます。アカウントのプラグインに加え、アカウントがプラグインの管理を管理者に限定していなければ、実行者が自分で有効にしたプラグインも含まれます"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["実務上の帰結は、チャネルのチャットには会話をまたぐ記憶がないということです。どのチャットもフォルダの現在の内容から始まり、残す価値のあるものは会話自体を通じて返す必要があります。セッションをまたぐ継続性がアプリケーションに必要なら、アプリケーション側で保持してください。チャット ID と Chat Access Token はすでに保存しているので、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/agent-channels/building-an-app#%E3%82%AF%E3%83%A9%E3%82%A4%E3%82%A2%E3%83%B3%E3%83%88%E3%81%8C%E6%8C%81%E3%81%A3%E3%81%A6%E3%81%84%E3%81%AA%E3%81%84%E4%BC%9A%E8%A9%B1%E3%82%92%E8%A1%A8%E7%A4%BA%E3%81%99%E3%82%8B"},"children":["既存のチャットを再開する"]},"ことで同じ会話を続けられます。MCP クライアントも同じように、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["chat_id"]}," を保持して ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/agent-channels/mcp-clients#%E3%82%A2%E3%82%AF%E3%82%B7%E3%83%A7%E3%83%B3%E3%81%AE%E5%AE%9F%E8%A1%8C%E3%81%A8%E3%83%81%E3%83%A3%E3%83%83%E3%83%88%E3%81%AE%E9%96%8B%E5%A7%8B"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["continue_chat"]}]}," を呼べば会話を続けられます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"アプリケーションが送れるもの","__idx":2},"children":["アプリケーションが送れるもの"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["エージェントに届く操作は、意図的に絞ってあります。SDK App から届くのは次の2つだけです。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["プロンプト"]}," — ユーザーメッセージ1件。これが1回のターンを開始します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["停止"]}," — 実行中のターンを終了します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure AI Studio の内部チャットプロトコルには、これ以外の操作もあります。セッションの再起動や巻き戻し、モデルなどのセッションオプションの変更、プラグインの追加やインストールです。これらはチャネル経由では実行できません。設定で禁止しているのではなく、ゲートウェイが対応するプロトコルにそもそも含まれていないため、アプリケーションのエンドユーザーには送る手段がありません。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["アプリケーションが送れるものは、もう1つあります。指示ではなく、エージェントからの質問への回答です。エージェントがユーザーに質問するために処理をいったん止めたとき、アプリケーションはその答えをツールの実行結果として返します。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/agent-channels/building-an-app#%E5%AE%9F%E8%A3%85%E3%81%8C%E5%BF%85%E8%A6%81%E3%81%AA%E5%94%AF%E4%B8%80%E3%81%AE%E3%83%84%E3%83%BC%E3%83%AB"},"children":["エージェントの質問に答える"]},"で扱います。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["MCP エンドポイントから送れるのは6つのツールです。フォルダとアクションの一覧、名前を指定したアクションの実行、メッセージによるチャットの開始、続きの指示、最新の結果の読み取りです。アクションは保存済みの内容どおりに引数なしで実行され、エージェントの質問には回答できず、回答は自動でスキップされます。一覧は ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/agent-channels/mcp-clients#%E3%83%84%E3%83%BC%E3%83%AB"},"children":["MCP クライアントを接続する"]},"にあります。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"アプリケーションが受け取るもの","__idx":3},"children":["アプリケーションが受け取るもの"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ゲートウェイは、明示的に指定したイベントだけを転送し、それ以外はすべて破棄します。あとから内部プロトコルに追加されたものも同様に破棄されます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["クライアントが受け取るのは次のものです。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["アシスタントのテキスト (ストリーミング)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["エージェントの思考 (ストリーミング)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ツール呼び出し — ツール名とその引数"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["エージェントがユーザーにする質問"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ターンの終了 (失敗した場合を含む)"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["受け取らないものが2つあり、どちらもクライアントの作り方に影響します。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ツールの出力。"]}," ツールが動いたことと、その引数までは見えますが、何を返したかは見えません。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ターンが失敗した理由。"]}," 失敗は、決められたカテゴリのいずれかが固定の文面で届き、その背後にある理由はプラットフォームの中に留まります。エラー処理は「ターンが失敗した」という事実に対して組み、メッセージの解析に頼らないでください。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ツール呼び出しは実行済みの状態で届くので、クライアントは表示するだけで、その裏側に実装は必要ありません。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["MCP クライアントが受け取るものはさらに少なく、エージェントの最終的なテキストがツールの結果として返り、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["status"]}," でターンが完了したか、実行中か、質問があったか、失敗したか、結果を読み取れなかったかが示されます。思考とツール呼び出しは含まれません。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/agent-channels/mcp-clients#%E7%B5%90%E6%9E%9C%E3%82%92%E8%AA%AD%E3%82%80"},"children":["結果を読む"]},"を参照してください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"制限されていないもの","__idx":4},"children":["制限されていないもの"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["チャネルのチャットは",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["実行者にできることをすべて引き継いだまま"]},"動きます。それを狭めるチャネル単位の設定は存在しません。公開アプリケーションをチャネルに向けようとしているなら、ここはとくに注意して読んでください。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ツール。"]}," 通常のチャットと同じツールが使えます。クエリの実行や、サンドボックス内でのコード実行も含みます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["コネクションと資格情報。"]}," 実行者が設定した",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/connections/"},"children":["コネクション"]},"はすべてチャットから利用でき、実行者の資格情報が使われます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["プラグインとスキル。"]}," プラグインは実行者自身のチャットと同じように読み込まれます（アカウントのプラグインと、アカウントが管理者に限定していなければ実行者が有効にしたもの）。フォルダのスキルとアクションも読み込まれます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["モデル。"]}," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/concepts/#ai%E3%83%A2%E3%83%87%E3%83%AB%E3%83%86%E3%82%A3%E3%82%A2"},"children":["モデルティア"]},"は ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Balanced"]}," で動きます。実行者の ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["デフォルトモデル"]}," の設定は引き継がれず、呼び出す側やチャネル単位の設定で別のティアを選ぶこともできません。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["エージェントチャネルが制限しているのは、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["作業領域と、外部から送れる操作の範囲"]},"だけで、エージェントにできること自体を制限しているわけではありません。チャネルは、呼び出し側に「チャネルのフォルダに対する実行者の到達範囲」を与えるものと考え、実行者はそれを前提に選んでください。アプリケーションを使える相手に対して、そのコネクションと権限を開いてもよいと判断できるユーザーが適切です。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["チャネルを運用するうえでは、次の2点に注意してください。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["チャネル経由で届くプロンプトは信頼できない入力です。"]}," アプリケーションのユーザーや、MCP エンドポイントのトークンを持つ人から来て、実際の資格情報を持つエージェントに届きます。プロンプトを転送する前に、自社のプロダクトに必要な確認を行ってください。Treasure AI Studio が一般にプロンプトとデータをどう扱うかは",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/security/"},"children":["セキュリティ概要"]},"を参照してください。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["狭めるべきはチャネルではなく実行者のアクセス範囲です。"]}," チャネルが実行者を狭められないため、調整できるのは実行者を誰にするかだけです。実行者のコネクションが少なければ、チャネルの到達範囲もそれだけ狭くなります。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"クレジット帰属監査","__idx":5},"children":["クレジット、帰属、監査"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["チャネルのチャットが行うことはすべて",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["実行者"]},"に帰属します。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"width":"30%","data-label":"観点"},"children":["観点 "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"70%","data-label":"帰属先"},"children":["帰属先 "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["クレジットとクォータ"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["実行者。チャネルのチャットは実行者自身のチャットと同じように使用量を消費します — ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/credits/credit-usage"},"children":["クレジット使用量"]},"を参照"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["権限"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["実行者の権限。リクエストごとに評価されます。実行者がそのフォルダの割り当てを失うと、チャネルは接続を受け付けなくなります"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["チャットの所有者"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["実行者。チャットは実行者自身のチャット一覧に表示され、吹き出しが2つ重なったアイコンと、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["SDK App"]}," または ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["MCP"]}," のラベルが付きます"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["データの保持"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["アカウントの通常のチャット保持ポリシー — ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/security/data-retention"},"children":["チャットデータの保持"]},"を参照"]}]}]}]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/ai-studio-agent-channels-sdk-app-chat.28b9ad9834ed6058d5f0cbc44a878e2b71b102440c87d1e1320a3b168f12f3a6.679d8dbd.webp","alt":"サイドバーの最近のチャット。タイトルの上に SDK App というラベルが付き、吹き出しが2つ重なったアイコンのチャットが表示されている","framed":false,"withLightbox":true,"width":"300px"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["どのエンドユーザーがそのチャットを開始したかは、Treasure AI Studio には記録されません。そのユーザーを識別する情報を持っていないためです。自社の監査でこの対応付けが必要なら、チャットを作成した時点で、アプリケーション側でチャット ID に紐づけて保存してください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"制限値","__idx":6},"children":["制限値"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下は SDK App の制限値です。MCP エンドポイントにも同じ値のチャット作成上限があり、エンドポイントごとに ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["run_action"]}," と ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["start_chat"]}," の合計で数えます。上限を超えると ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["429"]}," ではなく、ツールのエラー ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["rate_limited"]}," が返ります。メッセージの長さと待機時間には独自の制限があります。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/agent-channels/mcp-clients#%E5%88%B6%E9%99%90%E5%80%A4"},"children":["MCP クライアントを接続する"]},"を参照してください。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"width":"34%","data-label":"項目"},"children":["項目 "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"66%","data-label":"既定値"},"children":["既定値 "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["チャットの作成"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["SDK App あたり毎分30件。チャネルのすべてのトークンを合算して数えるため、トークンをローテーションしても上限は増えません"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ターン"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Chat Access Token あたり毎分120回"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["1チャット内の同時実行"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1つ。チャットは一度に1つのターンだけ実行します"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Chat Access Token のアイドル期限"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["未使用のまま24時間。使用すると延長されます"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Chat Access Token の絶対期限"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["発行から30日。使用状況にかかわらず延長されません"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ターンの実行時間"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["上限として1時間。実際にはそれよりはるかに前に終わります"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["リクエストボディ"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["メッセージング用エンドポイントへの1リクエストあたり32 MB。1メッセージの上限は1 MB"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["レート制限を超えると ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["429"]}," と ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Retry-After"]}," ヘッダーが返ります。2つのトークン期限は SDK App ごとに設定できます。それ以外はプラットフォーム全体の値です。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"チャネルが停止したときに起きること","__idx":7},"children":["チャネルが停止したときに起きること"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["チャネルの無効化、実行者から降りる操作、チャネルの削除は、いずれも新しいリクエストを止めます。Gateway Token を使うリクエスト（MCP のリクエストはすべてこれにあたります）は直ちに拒否され、Chat Access Token を使うリクエストは1分程度で拒否されるようになります。ゲートウェイがチャット用トークンの検証成功を短時間キャッシュしているためです。Gateway Token の失効で止まるのはそのトークンと、SDK App の場合はそこから発行された Chat Access Token です。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["すでに存在するチャットは削除されません。実行者のチャット一覧に残り、通常のチャット保持ポリシーの対象になります。すでにストリーミング中のターンは最後まで流れ続け、エージェントの処理もキャンセルされません。拒否されるのは、クライアントの次のリクエスト（新しいメッセージ、再開、履歴の取得）です。MCP クライアントの場合は次のリクエストが ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["401"]}," または ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["403"]}," で拒否されます。チャットは動き続け、失効させたのがトークン1本だけなら、同じエンドポイントの別のトークンで結果を読み取れます。どの操作が何を止めるかは ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/agent-channels/tokens#%E3%83%88%E3%83%BC%E3%82%AF%E3%83%B3%E3%81%AE%E5%A4%B1%E5%8A%B9"},"children":["Gateway Token と Chat Access Token"]},"で扱います。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"次のステップ","__idx":8},"children":["次のステップ"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/agent-channels/sdk-apps"},"children":["SDK App の作成と管理"]},"・",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/agent-channels/mcp-endpoints"},"children":["静的トークン方式の MCP エンドポイント"]}," — チャネルを設定し、実行者を選ぶ"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/agent-channels/tokens"},"children":["Gateway Token と Chat Access Token"]}," — 資格情報とその有効期間"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/agent-channels/building-an-app"},"children":["Vercel AI SDK でチャットアプリを作る"]}," — チャットを動かすアプリケーションの実装"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/security/"},"children":["セキュリティ概要"]}," — Treasure AI Studio が一般にデータをどう隔離し扱うか"]}]}]},"headings":[{"value":"エージェントチャネルのチャットが到達できる範囲","id":"エージェントチャネルのチャットが到達できる範囲","depth":1},{"value":"作業領域は共有作業フォルダ1つ、読み取り専用、チャットごとに破棄","id":"作業領域は共有作業フォルダ1つ読み取り専用チャットごとに破棄","depth":2},{"value":"アプリケーションが送れるもの","id":"アプリケーションが送れるもの","depth":2},{"value":"アプリケーションが受け取るもの","id":"アプリケーションが受け取るもの","depth":2},{"value":"制限されていないもの","id":"制限されていないもの","depth":2},{"value":"クレジット、帰属、監査","id":"クレジット帰属監査","depth":2},{"value":"制限値","id":"制限値","depth":2},{"value":"チャネルが停止したときに起きること","id":"チャネルが停止したときに起きること","depth":2},{"value":"次のステップ","id":"次のステップ","depth":2}],"frontmatter":{"seo":{"title":"エージェントチャネルのチャットが到達できる範囲","description":"エージェントチャネル経由で作られた Treasure AI Studio のチャットが何を読み書きできるのか、呼び出し側が何を送れるのか、どの制限とクレジットが適用されるのかを解説します。"},"platforms":["Web","Desktop"]},"lastModified":"2026-11-02T13:50:16.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/products/ai-studio/agent-channels/channel-chats","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}