mcp: export ToolFor (#347)
This is needed so clients can modify tool schemas, and not merely to wrap ToolHandlers. (A consequence of returning a copy of Tool instead of modifying it.)
This commit is contained in:
parent
dd8e3af18d
commit
62db914082
1 changed files with 5 additions and 6 deletions
|
|
@ -6,7 +6,6 @@
|
|||
|
||||
package mcp
|
||||
|
||||
// TODO: expand the aliases
|
||||
type (
|
||||
CallToolRequest = ServerRequest[*CallToolParams]
|
||||
CompleteRequest = ServerRequest[*CompleteParams]
|
||||
|
|
|
|||
Loading…
Reference in a new issue