改善 / v2.1.310
MCP elicitationタイムアウトのエラー改善
CHANGELOG 原文(英語)
Changed the error for an MCP tool call that times out in a non-interactive session while the server's elicitation is unanswered: it now tells Claude that no answer came and not to repeat the call 公式の変更履歴を開く ↗ 日本語での補足
non-interactiveセッションで、サーバーのelicitationに応答がないままMCPツール呼び出しがタイムアウトした際のエラーを変更。応答が来なかったことと、呼び出しを再試行しないことをClaudeに伝えるように。
ドキュメント
ドキュメントの抜粋(参考訳)
サーバーの質問に答えられないままMCPツール呼び出しがタイムアウトした
非対話モードで、ツール呼び出し中にMCPサーバーがelicitationを通じて入力を求め、答えが来る前に呼び出しの時間制限を過ぎました。
MCP server "<name>" tool "<tool>" timed out after <N>s. The server asked the user a question, and no answer came before the time limit. Do not call this tool again in this turn. Tell the user that the server's question got no answer, and wait for their reply.
v2.1.310より前は、結果はtimed out after <N>sで終わり、質問については何も述べていませんでした。
対処方法:
- サーバーの要求に答える
Elicitationフックを設定する - TypeScriptのAgent SDKアプリケーションでは、
onElicitationコールバックが、制限時間が切れる前に答えを返すようにする - 答えにもっと時間を与えるには、サーバーの設定エントリで
timeoutをミリ秒単位で長く設定する。たとえば 10 分なら"timeout": 600000のようにします - 代わりに対話的なセッションでタスクを実行し、サーバーのダイアログに自分で答える
取得日 · 2026-11-20