Implementation for SEP-2243 Http Standardization (#1553)
Co-authored-by: Tarek Mahmoud Sayed <tarekms@microsoft.com> Co-authored-by: Tarek Mahmoud Sayed <tarekms@ntdev.microsoft.com> Co-authored-by: Tarek Mahmoud Sayed <10833894+tarekgh@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
3118fcd6cb
commit
b8c4d951ec
1 changed files with 2854 additions and 28 deletions
|
|
@ -442,4 +442,13 @@ public class ConformanceTools
|
|||
// and the client must reconnect to get the result.
|
||||
return "Reconnection test completed successfully";
|
||||
}
|
||||
|
||||
[McpServerTool(Name = "test_header_tool")]
|
||||
[Description("A tool with x-mcp-header annotations for conformance testing")]
|
||||
public static string TestHeaderTool(
|
||||
[McpHeader("Region"), Description("The deployment region")] string region,
|
||||
[Description("The query to execute")] string query)
|
||||
{
|
||||
return $"Executed in region {region}: {query}";
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue