Use gear.group_instance.platform instead of rpc call.