Class InputSchema
- Namespace
- AnthropicClient.Models
- Assembly
- AnthropicClient.dll
Represents an input schema.
public class InputSchema
- Inheritance
-
InputSchema
- Inherited Members
Constructors
InputSchema(Dictionary<string, InputProperty>, List<string>)
Initializes a new instance of the InputSchema class.
public InputSchema(Dictionary<string, InputProperty> properties, List<string> required)
Parameters
properties
Dictionary<string, InputProperty>The properties of the input schema.
required
List<string>The required properties of the input schema.
Exceptions
- ArgumentNullException
Thrown when the properties or required is null.
- ArgumentException
Thrown when the required properties are not present in the properties dictionary.
Properties
Properties
Gets the properties of the input schema.
public Dictionary<string, InputProperty> Properties { get; init; }
Property Value
Required
Gets the required properties of the input schema.
public List<string> Required { get; init; }
Property Value
Type
Gets the type of the input schema.
public string Type { get; init; }