utils 包
Microsoft Agent 365 工具 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
get_tooling_gateway_for_digital_worker
获取指定数字辅助角色的工具网关 URL。
get_tooling_gateway_for_digital_worker(agentic_app_id: str) -> str
参数
| 名称 | 说明 |
|---|---|
|
agentic_app_id
必需
|
数字辅助角色的代理应用标识符。 |
返回
| 类型 | 说明 |
|---|---|
|
数字工作者的工具网关 URL。 |