Plugins input for parameter

Hello, I create an editor toolbar button plugins for export same data, how can i tell the plugins where to save the data?