File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -606,11 +606,11 @@ describe("Server.tool", () => {
606
606
name : z . string ( ) ,
607
607
value : z . number ( ) ,
608
608
} ,
609
- async ( args ) => ( {
609
+ async ( { name , value } ) => ( {
610
610
content : [
611
611
{
612
612
type : "text" ,
613
- text : `${ args . name } : ${ args . value } ` ,
613
+ text : `${ name } : ${ value } ` ,
614
614
} ,
615
615
] ,
616
616
} ) ,
@@ -705,11 +705,11 @@ describe("Server.tool", () => {
705
705
name : z . string ( ) ,
706
706
value : z . number ( ) ,
707
707
} ,
708
- async ( args ) => ( {
708
+ async ( { name , value } ) => ( {
709
709
content : [
710
710
{
711
711
type : "text" ,
712
- text : `${ args . name } : ${ args . value } ` ,
712
+ text : `${ name } : ${ value } ` ,
713
713
} ,
714
714
] ,
715
715
} ) ,
@@ -791,11 +791,11 @@ describe("Server.tool", () => {
791
791
{
792
792
input : z . string ( ) ,
793
793
} ,
794
- async ( args ) => ( {
794
+ async ( { input } ) => ( {
795
795
content : [
796
796
{
797
797
type : "text" ,
798
- text : `Processed: ${ args . input } ` ,
798
+ text : `Processed: ${ input } ` ,
799
799
} ,
800
800
] ,
801
801
} ) ,
You can’t perform that action at this time.
0 commit comments