utils パッケージ
Microsoft Agent 365 Tooling SDK のユーティリティ モジュール。
クラス
| Constants |
ツール コンポーネント全体で使用される定数値を提供します。 |
関数
build_mcp_server_url
ベース URL とサーバー名を使用して、完全な MCP サーバー URL を構築します。
build_mcp_server_url(server_name: str) -> str
パラメーター
| 名前 | 説明 |
|---|---|
|
server_name
必須
|
MCP サーバー名。 |
戻り値
| 型 | 説明 |
|---|---|
|
MCP サーバーの完全な URL。 |
get_mcp_base_url
get_mcp_platform_authentication_scope
現在の環境に基づいて MCP プラットフォーム認証スコープを取得します。
get_mcp_platform_authentication_scope()
戻り値
| 型 | 説明 |
|---|---|
|
適切な MCP プラットフォーム認証スコープを含むリスト。 |
get_tooling_gateway_for_digital_worker
指定したデジタル ワーカーのツール ゲートウェイ URL を取得します。
get_tooling_gateway_for_digital_worker(agentic_app_id: str) -> str
パラメーター
| 名前 | 説明 |
|---|---|
|
agentic_app_id
必須
|
デジタル ワーカーのエージェント アプリ識別子。 |
戻り値
| 型 | 説明 |
|---|---|
|
デジタル ワーカーのツール ゲートウェイ URL。 |