Skip to content

Commit f460785

Browse files
committed
add -json flag for all tools
1 parent 2835e8c commit f460785

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

internal/mcp/mcp_args.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,7 @@ func BuildArgFlagSet(tool *ToolDef) (*flag.FlagSet, map[string]any, error) {
9393
}
9494
}
9595

96+
flagVars["json"] = fs.String("json", "", "provide all arguments as an json object")
97+
9698
return fs, flagVars, nil
9799
}

0 commit comments

Comments
 (0)