MentorAgent Docs
Menu

Questa pagina non è ancora tradotta in italiano: qui la trovi in inglese.

ReferencePackage: Novior.MentorAgent.Abstractions

MentorHostedTools enum

Provider-hosted tools the coordinator may use (roadmap #15 — Agent Framework hosted tools).

On this page

Unlike [MentorAction] function tools, these are not executed by your application: they run on the model provider's infrastructure during inference. MentorAgent only declares them, which is exactly what the Agent Framework does (HostedWebSearchTool, HostedCodeInterpreterTool, HostedFileSearchTool, HostedImageGenerationTool, HostedMcpServerTool from Microsoft.Extensions.AI).

⚠️ Availability depends on the provider. Azure OpenAI / OpenAI Responses clients support the full set; the Chat Completions client supports web search only. Enabling a tool the provider does not support makes the provider reject the call — see the package README.

Namespace: Novior.MentorAgent.Abstractions.Models. Package: Novior.MentorAgent.Abstractions.

public enum MentorHostedTools

Terminal
dotnet add package Novior.MentorAgent.Abstractions
ValueNumberDescription
None0No hosted tools (default).
WebSearch1Web search — the provider searches the web for up-to-date information (current events, documentation, anything past the model's training cut-off).
CodeInterpreter2Code interpreter — the provider writes and runs code in its own sandbox for exact computation, data analysis and file processing. The code never runs on your servers.
FileSearch4File search — the provider searches documents you uploaded to its vector store(s). Requires MentorOptions.FileSearchVectorStoreIds.
ImageGeneration8Image generation — the provider generates images from the conversation and returns them inline. The generated images are rendered in the message bubble.
HostedMcp16Hosted MCP — the provider connects to a remote MCP server and calls its tools during inference (as opposed to MentorOptions.McpServers, where your process is the MCP client). Requires MentorOptions.HostedMcpServers.