ToolControlEntry interface

Identifies a tool by its canonical type and optional MCP server URL or connector.

Properties

connectorId

The opaque MCP connector catalog identifier, not an Azure resource ID. Applies only to type mcp and cannot be specified together with serverUrl.

serverUrl

The absolute HTTPS URL or URL pattern of an MCP server, stored as a string to support wildcards. The entire URL may contain at most one literal '' across its hostname, path, query, and fragment. Supported patterns include https://.contoso.com/mcp, https://contoso.com/mcp/, https://contoso.com/mcp?tenant=, and https://contoso.com/mcp#*. A hostname wildcard must be the leftmost label. The URL must not contain user information. Applies only to type mcp and cannot be specified together with connectorId.

type

The canonical tool type. For type mcp, exactly one of serverUrl or connectorId must be specified. Other tool types must omit both properties.

Property Details

connectorId

The opaque MCP connector catalog identifier, not an Azure resource ID. Applies only to type mcp and cannot be specified together with serverUrl.

connectorId?: string

Property Value

string

serverUrl

The absolute HTTPS URL or URL pattern of an MCP server, stored as a string to support wildcards. The entire URL may contain at most one literal '' across its hostname, path, query, and fragment. Supported patterns include https://.contoso.com/mcp, https://contoso.com/mcp/, https://contoso.com/mcp?tenant=, and https://contoso.com/mcp#*. A hostname wildcard must be the leftmost label. The URL must not contain user information. Applies only to type mcp and cannot be specified together with connectorId.

serverUrl?: string

Property Value

string

type

The canonical tool type. For type mcp, exactly one of serverUrl or connectorId must be specified. Other tool types must omit both properties.

type: string

Property Value

string