Share via


utils Package

Utility modules for the Microsoft Agent 365 Tooling SDK.

Modules

constants

Provides constant values used throughout the Tooling components.

utility

Provides utility functions for the Tooling components.

Classes

Constants

Provides constant values used throughout the Tooling components.

Functions

build_mcp_server_url

Constructs the full MCP server URL using the base URL and server name.

build_mcp_server_url(server_name: str) -> str

Parameters

Name Description
server_name
Required

The MCP server name.

Returns

Type Description
str

The full MCP server URL.

get_mcp_base_url

Gets the base URL for MCP servers.

get_mcp_base_url() -> str

Returns

Type Description
str

The base URL for MCP servers.

get_mcp_platform_authentication_scope

Gets the MCP platform authentication scope based on the current environment.

get_mcp_platform_authentication_scope()

Returns

Type Description

A list containing the appropriate MCP platform authentication scope.

get_tooling_gateway_for_digital_worker

Gets the tooling gateway URL for the specified digital worker.

get_tooling_gateway_for_digital_worker(agentic_app_id: str) -> str

Parameters

Name Description
agentic_app_id
Required

The agentic app identifier of the digital worker.

Returns

Type Description
str

The tooling gateway URL for the digital worker.

get_tools_mode

Gets the tools mode for the application.

get_tools_mode() -> ToolsMode

Returns

Type Description

The tools mode enum value.