utility Module
Provides utility functions for the Tooling components.
Enums
| ToolsMode |
Enumeration for different tools modes. |
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 |
|---|---|
|
The full MCP server URL. |
get_mcp_base_url
Gets the base URL for MCP servers.
get_mcp_base_url() -> str
Returns
| Type | Description |
|---|---|
|
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 |
|---|---|
|
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. |