MCPサーバー設定を更新

MCPサーバーの設定を更新します。

パスパラメータ

mcp_server_idstring必須

MCPサーバーのID。

ヘッダー

xi-api-keystringオプション

リクエスト

This endpoint expects an object.
approval_policyenum or nullオプションデフォルト値 require_approval_all

MCPサーバーに設定する承認モード。

許可された値:
pre_tool_speechenum or nullオプションデフォルト値 auto

設定すると、このツールのサーバー側pre_tool_speech設定を上書きします。

許可された値:
interruption_modeenum or nullオプションデフォルト値 allow

設定すると、このツールのサーバー側interruption_mode設定を上書きします。

許可された値:
tool_call_soundenum or nullオプション

このMCPサーバーのすべてのツールで、ツール実行中に再生する定義済みツール呼び出しサウンドの種類。

許可された値:
tool_call_sound_behaviorenum or nullオプションデフォルト値 auto

このMCPサーバーのすべてのツールで、ツール呼び出し音をいつ再生するかを決定します。

許可された値:
execution_modeenum or nullオプションデフォルト値 immediate

設定すると、このツールのサーバー側execution_mode設定を上書きします

許可された値:
response_timeout_secsinteger or nullオプション5-300

各MCPツール呼び出しの完了を待機する最大時間(秒)。

request_headersmap from strings to strings or objects or nullオプション

MCPサーバーへのリクエストに含めるヘッダー

request_metamap from strings to strings or integers or doubles or booleans or objects or nullオプション

tools/callリクエストのMCP _metaフィールドで送信されるエントリです。値にはJSONスカラー、または呼び出しごとに解決されるワークスペースシークレット、動的変数、環境変数への参照を指定できます。

disable_compressionboolean or nullオプション

このMCPサーバーでHTTP圧縮を無効にするかどうか

secret_tokenobject or nullオプション

このMCPサーバーの認証に使用する任意のシークレットトークン

auth_connectionobject or nullオプション

このMCPサーバーの認証に使用する任意の認証接続

force_pre_tool_speechboolean or nullオプションDeprecated

非推奨:代わりにpre_tool_speechを使用してください。設定すると、このツールに対するサーバーのforce_pre_tool_speech設定を上書きします。

disable_interruptionsboolean or nullオプションDeprecated

非推奨:代わりにinterruption_modeを使用してください。設定すると、このツールに対するサーバーのdisable_interruptions設定を上書きします。

レスポンス

成功レスポンス。

idstring
configobject
metadataobject

MCPサーバーのメタデータ。

access_infoobject or nullオプション

MCPサーバーのアクセス情報。

dependent_agentslist of objectsオプション

このMCPサーバーに依存するエージェントのリスト。

エラー

422
Unprocessable Entity Error