/goop containers close <player>
Does nothing if the player doesn't have their inventory open.
Name of the player who will have its inventory view closed.
Not really a containers command.
Always succeeds
/goop containers close cocopad
Player cocopad will close his inventory.