Any geoprocessing tool that outputs a feature class allows you to choose either a shapefile or geodatabase feature class as the output format. In your case you could use the 'Clip' GPtool which extracts the input features that overlay the clip features. The clip features could be an input parameter that you would populate by using a GPRecordSet at the client level.