Share via


FoundryToolFactory Class

Definition

Factory for creating FoundryTool instances from various input types. Supports discriminator-based dispatch for flexible tool definition formats.

public static class FoundryToolFactory
type FoundryToolFactory = class
Public Class FoundryToolFactory
Inheritance
FoundryToolFactory

Methods

Name Description
Create(FoundryTool)

Creates a FoundryTool from a FoundryTool instance (passthrough).

Create(IDictionary<String,Object>)

Creates a FoundryTool from a dictionary-based facade with a "type" discriminator field.

Create(Object)

Creates a FoundryTool from an object input. Dispatches to the appropriate overload based on the runtime type.

Applies to