McpToolExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extension methods on OpenAI.Responses.McpTool that expose Foundry-project-specific configuration (such as the project connection identifier).
public static class McpToolExtensions
type McpToolExtensions = class
Public Class McpToolExtensions
- Inheritance
-
McpToolExtensions
Properties
| Name | Description |
|---|---|
| ProjectConnectionId |
Gets or sets the Foundry project connection identifier associated with this MCP tool. The value is stored as a JSON patch on the underlying tool definition. |
Methods
| Name | Description |
|---|---|
| get_ProjectConnectionId(McpTool) |
Gets or sets the Foundry project connection identifier associated with this MCP tool. The value is stored as a JSON patch on the underlying tool definition. |
| set_ProjectConnectionId(McpTool, String) |
Gets or sets the Foundry project connection identifier associated with this MCP tool. The value is stored as a JSON patch on the underlying tool definition. |