Use the methods in the maps module to create map operations for use with the Client#operate command.
maps
Client#operate