Outliner create slice group via API, somebody can help?

Sorry, I got confused with the word Outliner which is the object tree panel.

Okay, the “Create Group from Slice” command is an edit command, whose command ID will change from session to session depending upon what plugins are loaded. So there is no way to lock down a certain integer ID for it. And there does not appear to be a send_action string.

Looks like you should open a feature request in the tracker …