17 lines
466 B
C#
17 lines
466 B
C#
using System.Collections.Generic;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace AxCopilot.Services.Agent;
|
|
|
|
public class ToolParameterSchema
|
|
{
|
|
[JsonPropertyName("type")]
|
|
public string Type { get; init; } = "object";
|
|
|
|
[JsonPropertyName("properties")]
|
|
public Dictionary<string, ToolProperty> Properties { get; init; } = new Dictionary<string, ToolProperty>();
|
|
|
|
[JsonPropertyName("required")]
|
|
public List<string> Required { get; init; } = new List<string>();
|
|
}
|