| 1 | using System.Text.Json; |
| 2 | using System.Text.Json.Serialization; |
| 3 | |
| 4 | namespace AgentClientProtocol; |
| 5 | |
| 6 | public record InitializeResponse |
| 7 | { |
| 8 | [JsonPropertyName("_meta")] |
| 9 | public JsonElement? Meta { get; init; } |
| 10 | |
| 11 | [JsonPropertyName("protocolVersion")] |
| 12 | public required ushort ProtocolVersion { get; init; } |
| 13 | |
| 14 | [JsonPropertyName("agentCapabilities")] |
| 15 | public AgentCapabilities AgentCapabilities { get; init; } = new(); |
| 16 | |
| 17 | [JsonPropertyName("agentInfo")] |
| 18 | public Implementation? AgentInfo { get; init; } |
| 19 | |
| 20 | [JsonPropertyName("authMethods")] |
| 21 | public AuthMethod[] AuthMethods { get; init; } = []; |
| 22 | } |
| 23 | |
View only · write via MCP/CIDE