| 1 | using System.Text.Json; |
| 2 | using System.Text.Json.Serialization; |
| 3 | |
| 4 | namespace AgentClientProtocol; |
| 5 | |
| 6 | public record AgentCapabilities |
| 7 | { |
| 8 | [JsonPropertyName("_meta")] |
| 9 | public JsonElement? Meta { get; init; } |
| 10 | |
| 11 | [JsonPropertyName("loadSession")] |
| 12 | public bool LoadSession { get; init; } = false; |
| 13 | |
| 14 | [JsonPropertyName("mcpCapabilities")] |
| 15 | public McpCapabilities McpCapabilities { get; init; } = new(); |
| 16 | |
| 17 | [JsonPropertyName("promptCapabilities")] |
| 18 | public PromptCapabilities PromptCapabilities { get; init; } = new(); |
| 19 | } |
| 20 | |
| 21 | public record McpCapabilities |
| 22 | { |
| 23 | [JsonPropertyName("_meta")] |
| 24 | public JsonElement? Meta { get; init; } |
| 25 | |
| 26 | [JsonPropertyName("http")] |
| 27 | public bool Http { get; init; } = false; |
| 28 | |
| 29 | [JsonPropertyName("sse")] |
| 30 | public bool Sse { get; init; } = false; |
| 31 | } |
| 32 | |
| 33 | public record PromptCapabilities |
| 34 | { |
| 35 | [JsonPropertyName("_meta")] |
| 36 | public JsonElement? Meta { get; init; } |
| 37 | |
| 38 | [JsonPropertyName("audio")] |
| 39 | public bool Audio { get; init; } = false; |
| 40 | |
| 41 | [JsonPropertyName("embeddedContext")] |
| 42 | public bool EmbeddedContext { get; init; } = false; |
| 43 | |
| 44 | [JsonPropertyName("image")] |
| 45 | public bool Image { get; init; } = false; |
| 46 | } |
| 47 | |