adding Simple Web Search Tool, Untested ...

This commit is contained in:
2026-11-07 00:38:51 +03:30
parent b26da81560
commit 6e4ce28832
10 changed files with 597 additions and 7 deletions
@@ -0,0 +1,48 @@
namespace xAiMcpServer.Configurations
{
/// <summary>
/// Web Search Tool Configuration ...
/// </summary>
public class XAiMcpWebSearchToolConfiguration
{
/// <summary>
/// Region for Search ...
/// </summary>
public string Region {get; set;}
/// <summary>
/// Timeout ...
/// </summary>
public int TimeoutSeconds {get; set;}
/// <summary>
/// Cache TTL ...
/// </summary>
public int CacheTtlSeconds {get; set;}
/// <summary>
/// Main Endpoint Url for Search ...
/// </summary>
public string HtmlEndpoint {get; set;}
/// <summary>
/// Fallback Endpoint Url ...
/// </summary>
public string LiteEndpoint {get; set;}
/// <summary>
/// Selected Result items ...
/// </summary>
public int DefaultMaxResults {get; set;}
/// <summary>
/// Enable Falling Back ...
/// </summary>
public bool EnableLiteFallback {get; set;}
/// <summary>
/// Min Delay betwen two Requests ...
/// </summary>
public int MinDelayMilliseconds {get; set;}
}
}