KnowledgeBaseTool 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.
A named retrieval tool with a customer-provided description and a subset of its knowledge base's sources.
public class KnowledgeBaseTool : System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.Indexes.Models.KnowledgeBaseTool>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.Indexes.Models.KnowledgeBaseTool>
type KnowledgeBaseTool = class
interface IJsonModel<KnowledgeBaseTool>
interface IPersistableModel<KnowledgeBaseTool>
Public Class KnowledgeBaseTool
Implements IJsonModel(Of KnowledgeBaseTool), IPersistableModel(Of KnowledgeBaseTool)
- Inheritance
-
KnowledgeBaseTool
- Implements
Constructors
| Name | Description |
|---|---|
| KnowledgeBaseTool(String, String, IEnumerable<KnowledgeBaseToolKnowledgeSourceReference>) |
Initializes a new instance of KnowledgeBaseTool. |
Properties
| Name | Description |
|---|---|
| Description |
A nonempty description of when to use the tool, at most 1024 characters. Advertised verbatim in the MCP catalog. |
| KnowledgeSources |
A nonempty list of unique source references. Each source must belong to the knowledge base. Different tools may reference the same source. |
| Name |
The unique, case-sensitive tool name. Contains 2 to 64 lowercase ASCII letters, digits, or hyphens, with no leading or trailing hyphen. |
| RetrievalReasoningEffort |
Overrides the knowledge base's reasoning effort for this tool. Explicit retrieve-request values take precedence. |
| RetrieveDefaults |
Retrieve defaults that override the knowledge base's defaults for this tool. Explicit retrieve-request values take precedence. |