| 1 | using System.Text.Json; |
| 2 | |
| 3 | namespace AgentForge.Abstractions; |
| 4 | |
| 5 | public sealed class ForgeMcpToolDescriptor |
| 6 | { |
| 7 | public required string Name { get; init; } |
| 8 | |
| 9 | public required string Description { get; init; } |
| 10 | |
| 11 | public required JsonElement InputSchema { get; init; } |
| 12 | } |
| 13 | |
| 14 | public sealed class ForgeMcpInvokeRequest |
| 15 | { |
| 16 | public required string Tool { get; init; } |
| 17 | |
| 18 | public Dictionary<string, JsonElement>? Arguments { get; init; } |
| 19 | } |
| 20 | |
| 21 | public sealed class ForgeMcpInvokeResponse |
| 22 | { |
| 23 | public required bool Success { get; init; } |
| 24 | |
| 25 | public required string Body { get; init; } |
| 26 | } |
| 27 | |
View only · write via MCP/CIDE