Use the listShards command to return a list of configured shards. The command takes the following form:
{ listShards: 1 }