Fix HTTP task filter composition (#1722)

This commit is contained in:
Pranav Senthilnathan 2026-07-24 13:33:19 -07:00 • committed by GitHub
commit a5179df39b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,6 +42,10 @@ public static class McpRequestFilterBuilderExtensions
/// <summary>
/// Adds a filter to the call tool handler pipeline.
/// </summary>
/// <remarks>
/// This ordinary call-tool filter runs inside all alternate-result call-tool filters. For a task-backed call,
/// it executes in the background after task creation and before the tool.
/// </remarks>
/// <param name="builder">The request filter builder instance.</param>
/// <param name="filter">The filter function that wraps the handler.</param>
/// <returns>The builder provided in <paramref name="builder"/>.</returns>