return the JSON stringified parameters from getDescription for MCP tools and Discovered tools (#6655)

This commit is contained in:
Jacob MacDonald
2025-08-20 13:10:02 -07:00
committed by GitHub
parent 4642de2a5c
commit 1738d40745
5 changed files with 24 additions and 2 deletions

View File

@@ -24,6 +24,7 @@ export interface ToolInvocation<
/**
* Gets a pre-execution description of the tool operation.
*
* @returns A markdown string describing what the tool will do.
*/
getDescription(): string;