Implement SEP-2663 Tasks Extension (#1579)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
ed07fdb6f4
commit
dbb7a20176
1 changed files with 8190 additions and 11405 deletions
|
|
@ -197,23 +197,6 @@ public sealed class McpServerToolCreateOptions
|
|||
/// </remarks>
|
||||
public JsonObject? Meta { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the execution hints for this tool.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Execution hints provide information about how the tool should be invoked, including
|
||||
/// task support level (<see cref="ToolTaskSupport"/>).
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// If <see langword="null"/>, the tool's execution settings are determined automatically based on
|
||||
/// the method signature (async methods get <see cref="ToolTaskSupport.Optional"/>; sync methods
|
||||
/// get <see cref="ToolTaskSupport.Forbidden"/>).
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[Experimental(Experimentals.Tasks_DiagnosticId, UrlFormat = Experimentals.Tasks_Url)]
|
||||
public ToolExecution? Execution { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Creates a shallow clone of the current <see cref="McpServerToolCreateOptions"/> instance.
|
||||
/// </summary>
|
||||
|
|
@ -235,6 +218,5 @@ public sealed class McpServerToolCreateOptions
|
|||
Metadata = Metadata,
|
||||
Icons = Icons,
|
||||
Meta = Meta,
|
||||
Execution = Execution,
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue