using System.Text.Json.Nodes; using Nexus.Api.Models; namespace Nexus.Api.Services; public interface IOpenClawGatewayClient { Task InvokeToolAsync(string tool, object? args = null); Task GetStatusAsync(); Task> GetAgentsAsync(); Task> GetSessionHistoryAsync(string sessionKey, int limit = 50, int offset = 0); Task> GetAllAgentOperationsAsync(int limit = 30); Task SendChatMessageAsync(string agentId, string message); Task> GetQueueAsync(); Task DeleteCronJobAsync(string id); Task GetAgentModelAsync(string agentId); Task SetAgentModelAsync(string agentId, string model); Task> GetAgentActivityAsync(string agentId, int limit = 5); List GetAvailableModels(); }